summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/regexp_parse/Atom_ControlEscape.js
blob: 8be9cdb5a8f6fb5e03d965e6fad7d78fcbe281f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
if (typeof parseRegExp === 'undefined')
    quit();

load(libdir + "regexp_parse.js");

test_mix("\\f", all_flags,
         Atom("\u000c"));

test_mix("\\n", all_flags,
         Atom("\u000a"));

test_mix("\\r", all_flags,
         Atom("\u000d"));

test_mix("\\t", all_flags,
         Atom("\u0009"));

test_mix("\\v", all_flags,
         Atom("\u000b"));