summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/regexp_parse/CharacterClass_ClassEscape.js
blob: abb342fc28933fdf18aec4487608026cdb723e06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
if (typeof parseRegExp === 'undefined')
    quit();

load(libdir + "regexp_parse.js");

test("[\b]", all_flags,
     CharacterClass([
         ["\u0008", "\u0008"]
     ]));
test("[\-]", all_flags,
     CharacterClass([
         ["-", "-"]
     ]));