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.
30 lines
345 B
30 lines
345 B
/*
|
|
* Test case conversions in case insensitive matching. See
|
|
* comments in E5 Section 15.10.2.8.
|
|
*/
|
|
|
|
/*---
|
|
{
|
|
"skip": true
|
|
}
|
|
---*/
|
|
|
|
/*FIXME*/
|
|
|
|
var r, t;
|
|
|
|
/*===
|
|
foo
|
|
Foo
|
|
fOO
|
|
===*/
|
|
|
|
try {
|
|
r = /fOO/i;
|
|
t = r.exec('foo'); print(t);
|
|
t = r.exec('Foo'); print(t);
|
|
t = r.exec('fOO'); print(t);
|
|
} catch (e) {
|
|
print(e.name);
|
|
}
|
|
|
|
|