|
|
The RegExp parser properly handles special escapes and quantifiers after atoms.
The RegExp Compile function reuses the pattern as indexOf argument if it
doesn't contain escapes (otherwise the parsed atom text is used).
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+578 lines, -275 lines) |
Patch |
 |
M |
regexp2000/src/ast.h
|
View
|
1
2
3
|
2 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
 |
M |
regexp2000/src/jsregexp.h
|
View
|
1
2
3
|
2 chunks |
+8 lines, -4 lines |
0 comments
|
Download
|
 |
M |
regexp2000/src/jsregexp.cc
|
View
|
1
2
3
|
3 chunks |
+16 lines, -9 lines |
0 comments
|
Download
|
 |
M |
regexp2000/src/list.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
regexp2000/src/list-inl.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
regexp2000/src/parser.h
|
View
|
1
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
regexp2000/src/parser.cc
|
View
|
1
2
3
|
25 chunks |
+453 lines, -231 lines |
0 comments
|
Download
|
 |
M |
regexp2000/test/cctest/test-regexp.cc
|
View
|
1
2
3
|
8 chunks |
+88 lines, -22 lines |
0 comments
|
Download
|
 |
M |
regexp2000/test/mjsunit/non-ascii-replace.js
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
Total messages: 4 (0 generated)
|