Bug 254007
| Summary: | [JSC] Add ClassSetCharacter syntax tests for RegExp V flag and fix issues found | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Michael Saboff <msaboff> |
| Component: | JavaScriptCore | Assignee: | Michael Saboff <msaboff> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Local Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Michael Saboff
The Spec for RegExp V flag reserves character pairs and certain syntax characters as not allowed in the ClassSetCharacter production. Tests are needed to check for these syntax rules as both set operands and class string disjunctions (\q{...}).
ClassSetCharacter ::
[lookahead ∉ ClassSetReservedDoublePunctuator] SourceCharacter but not ClassSetSyntaxCharacter
...
ClassSetReservedDoublePunctuator :: one of
&& !! ## $$ %% ** ++ ,, .. :: ;; << == >> ?? @@ ^^ `` ~~
ClassSetSyntaxCharacter :: one of
( ) [ ] { } / - \ |
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/106789711>
Michael Saboff
Pull request: https://github.com/WebKit/WebKit/pull/11593
EWS
Committed 261746@main (1fe6b1dc37f1): <https://commits.webkit.org/261746@main>
Reviewed commits have been landed. Closing PR #11593 and removing active labels.