Bug 61129 - Matching of those patterns which contains empty alternatives fail with beginning character optimization
Summary: Matching of those patterns which contains empty alternatives fail with beginn...
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Peter Varga
URL:
Keywords:
Depends on: 61306
Blocks:
  Show dependency treegraph
 
Reported: 2011-05-19 09:01 PDT by Peter Varga
Modified: 2011-05-24 13:02 PDT (History)
4 users (show)

See Also:


Attachments
proposed patch (5.83 KB, patch)
2011-05-19 09:04 PDT, Peter Varga
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Varga 2011-05-19 09:01:06 PDT
E.g.:
"cd".match(/(ab|)cd);
result: null
expected: cd,

This failure appears since http://trac.webkit.org/changeset/86547 with Yarr Interpreter.
Comment 1 Peter Varga 2011-05-19 09:04:28 PDT
Created attachment 94077 [details]
proposed patch
Comment 2 Gavin Barraclough 2011-05-23 14:10:40 PDT
I'm going to clear the review flag on this bug for now, pending a decision on:

https://bugs.webkit.org/show_bug.cgi?id=61306
Comment 3 Gavin Barraclough 2011-05-24 13:02:11 PDT
Marking this won't fix based on resolution to r61306.