blob: 30909a515ac5a875a7489f8f6a0160e092700926 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
var BUGNUMBER = 1135377;
var summary = "Implement RegExp unicode flag -- ignoreCase flag with negated character class.";
print(BUGNUMBER + ": " + summary);
assertEq(/[^A]/iu.exec("A"),
null);
assertEq(/[^a]/iu.exec("A"),
null);
assertEq(/[^A]/iu.exec("a"),
null);
assertEq(/[^a]/iu.exec("a"),
null);
assertEqArray(/[^A]/iu.exec("b"),
["b"]);
if (typeof reportCompare === "function")
reportCompare(true, true);
|