OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:testforwardslash
(Results
1 - 2
of
2
) sorted by null
/external/v8/test/webkit/fast/regex/
toString.js
26
function
testForwardSlash
(pattern, _string)
52
shouldBeTrue('
testForwardSlash
("^/$", "/");');
53
shouldBeTrue('
testForwardSlash
("^\/$", "/");');
55
shouldBeTrue('
testForwardSlash
("^\\/$", "/");');
57
shouldBeTrue('
testForwardSlash
("^\\\\/$", "\\/");');
58
shouldBeTrue('
testForwardSlash
("^\\\\\\/$", "\\/");');
60
shouldBeTrue('
testForwardSlash
("^\\\\\\\\/$", "\\\\/");');
61
shouldBeTrue('
testForwardSlash
("^\\\\\\\\\\/$", "\\\\/");');
63
shouldBeTrue('
testForwardSlash
("x/x/x", "x\\/x\\/x");');
64
shouldBeTrue('
testForwardSlash
("x\\/x/x", "x\\/x\\/x");')
[
all
...]
toString-expected.txt
35
PASS
testForwardSlash
("^/$", "/"); is true
36
PASS
testForwardSlash
("^/$", "/"); is true
37
PASS
testForwardSlash
("^\/$", "/"); is true
38
PASS
testForwardSlash
("^\\/$", "\/"); is true
39
PASS
testForwardSlash
("^\\\/$", "\/"); is true
40
FAIL
testForwardSlash
("^\\\\/$", "\\/"); should be true. Threw exception SyntaxError: Invalid regular expression flags
41
FAIL
testForwardSlash
("^\\\\\/$", "\\/"); should be true. Threw exception SyntaxError: Invalid regular expression flags
42
PASS
testForwardSlash
("x/x/x", "x\/x\/x"); is true
43
PASS
testForwardSlash
("x\/x/x", "x\/x\/x"); is true
44
PASS
testForwardSlash
("x/x\/x", "x\/x\/x"); is tru
[
all
...]
Completed in 268 milliseconds