Bug 50136 - Should clean up RegexInterpreter::atomParenthesesSubpatternBegin
: Should clean up RegexInterpreter::atomParenthesesSubpatternBegin
Status: NEW
: WebKit
JavaScriptCore
: 528+ (Nightly build)
: PC Mac OS X 10.5
: P2 Normal
Assigned To:
:
:
:
:
  Show dependency treegraph
 
Reported: 2010-11-28 16:41 PST by
Modified: 2010-11-28 16:41 PST (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 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.