fix regexp

This commit is contained in:
rolux 2014-12-17 17:12:53 +00:00
parent 514f365a8d
commit e7eb9e8936

View file

@ -182,7 +182,7 @@ pandora.ui.apiDialog = function() {
.appendTo($text);
$code = Ox.SyntaxHighlighter({
showLineNumbers: true,
source: code.replace(/\s*?'''.+?'''\n/gs, ''),
source: code.replace(/\s*?'''[\s\S]+?'''\n/g, ''),
offset: line
})
.css({