Bug 50136
| Summary: | Should clean up RegexInterpreter::atomParenthesesSubpatternBegin | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Gavin Barraclough <barraclough> |
| Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | ||
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | PC | ||
| OS: | OS X 10.5 | ||
Gavin Barraclough
This function is just a little weird – we initially plant a term for a parentheses-single, then remove & replace later in the ...End method.
We could also probably stop generating the nested subpattern to the wrong place & copying out – could stack the current disjunction & generate directly into a fresh one.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |