mirror of https://github.com/svaarala/duktape.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
339 B
18 lines
339 B
/*
|
|
* Parsing of regexp literals (E5 Section 7.8.5).
|
|
*/
|
|
|
|
/* There are detailed specific RegExp tests, so this is just a really
|
|
* simple first pass.
|
|
*/
|
|
|
|
/* FIXME: still, a few more useful tests here */
|
|
/* FIXME: division vs. regexp ambiguity tests here */
|
|
|
|
/*===
|
|
foofoobar,foo
|
|
===*/
|
|
|
|
var t = /(.{3})\1bar/.exec('foofoobar');
|
|
print(t);
|
|
|
|
|