mirror of
https://github.com/RGBCube/serenity
synced 2025-07-24 21:57:35 +00:00
parent
e2fa1b40c4
commit
491e4a8a3b
2 changed files with 12 additions and 0 deletions
|
@ -485,6 +485,10 @@ TEST_CASE(ECMA262_parse)
|
|||
"^hel(?<LO>l\\w).$",
|
||||
"^[-a-zA-Z\\w\\s]+$",
|
||||
"\\bhello\\B",
|
||||
"^[\\w+/_-]+[=]{0,2}$", // #4189
|
||||
"^(?:[^<]*(<[\\w\\W]+>)[^>]*$|#([\\w\\-]*)$)", // #4189
|
||||
"\\/", // #4189
|
||||
"\\x", // Even invalid escapes are allowed if ~unicode.
|
||||
};
|
||||
|
||||
for (auto& pattern : patterns) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue