Comment #1 on issue 176 by [email protected]: Regexp: ? should be implemented as {0,1} http://code.google.com/p/v8/issues/detail?id=176
The bug was in the parser. A quantified look-ahead was removed from the result entirely. This left only the single "f" atom in the result, so the indexOf method was used. However, removing the look-ahead didn't mark the pattern as being different from the atom, so the original pattern was used in the search instead of the atom "f". -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings --~--~---------~--~----~------------~-------~--~----~ v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev -~----------~----~----~----~------~----~------~--~---
