[Webkit-unassigned] [Bug 11849] REGRESSION (r18182): Google Calendar is broken (a regular expression containing a null character is not parsed correctly)
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Dec 28 18:08:30 PST 2006
http://bugs.webkit.org/show_bug.cgi?id=11849
------- Comment #6 from ggaren at apple.com 2006-12-28 18:08 PDT -------
This patch would increase the time required to scan a regular expression by
O(n) --an unfortunate performance hit.
An alternative, which would fix the Google Calendar bug, would be to escape
NULL characters as a part of sanitizePattern -- in other words, only if the
expression failed to parse. However, that would leave open a subtle bug in the
case where the subexpressionup until the first NULL character was still valid.
I think we need to change PCRE to take a length, instead. We do have a
substantial number of regular expression tests that can catch subtle bugs along
the way.
--
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list