Bug 50136 - Should clean up RegexInterpreter::atomParenthesesSubpatternBegin
: Should clean up RegexInterpreter::atomParenthesesSubpatternBegin
Status: NEW
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore
: 528+ (Nightly build)
: PC Mac OS X 10.5
: P2 Normal
Assigned To: Nobody
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-11-28 16:41 PST by Gavin Barraclough
Modified: 2010-11-28 16:41 PST (History)
0 users

See Also:


Attachments

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.