mirror of https://github.com/svaarala/duktape.git
Sami Vaarala
12 years ago
1 changed files with 16 additions and 0 deletions
@ -0,0 +1,16 @@ |
|||
|
|||
/*=== |
|||
finished |
|||
foo |
|||
===*/ |
|||
|
|||
/* Empty match with a global RegExp caused an infinite loop. */ |
|||
|
|||
try { |
|||
var t = 'foo'.replace(/(?:)/g, ''); |
|||
print('finished'); |
|||
print(t); |
|||
} catch (e) { |
|||
print(e); |
|||
} |
|||
|
Loading…
Reference in new issue