[Webkit-unassigned] [Bug 93789] REGRESSION(r125153): It broke the 'Unexpected no expected results' case

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 13 00:06:37 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=93789





--- Comment #1 from Peter Gal <galpeter at inf.u-szeged.hu>  2012-08-13 00:07:06 PST ---
This regex is the culprit

re.compile(r'(no expected results found|missing results)\s*:\s+\((\d+)\)')

Because of the new parentheses the text is the first matching group. The text should be a non-capturing group, like this:

re.compile(r'(?:no expected results found|missing results)\s*:\s+\((\d+)\)')

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list