Bug 50136 - Should clean up RegexInterpreter::atomParenthesesSubpatternBegin
Summary: Should clean up RegexInterpreter::atomParenthesesSubpatternBegin
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.5
: P2 Normal
Assignee: Nobody
Depends on:
Reported: 2010-11-28 16:41 PST by Gavin Barraclough
Modified: 2010-11-28 16:41 PST (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Gavin Barraclough 2010-11-28 16:41:33 PST
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.