[Webkit-unassigned] [Bug 30471] RegExp failure with (something|$)
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Nov 13 13:37:57 PST 2009
https://bugs.webkit.org/show_bug.cgi?id=30471
Gavin Barraclough <barraclough at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |WORKSFORME
--- Comment #1 from Gavin Barraclough <barraclough at apple.com> 2009-11-13 13:37:57 PST ---
> /#([^=]+?)(&|$)/.exec("Hello #42")
#42,42,
> /#([^=]+?)(&|$)/.exec("Hello #42&43")
#42&,42,&
> /#([^=]+?)(&|$)/.exec("Hello #42=")
null
Works as expected for me – matches #<foo><amp> or #<foo><newline>. Does not
match #<foo><equals>.
Maybe my test cases are too simple. Can you give an example input that you
expect to match this regex, but that does not for you? (or vice-versa,
something that should not match but does?)
Closing works-for-me, but please do reopen this bug if you have a specific test
case we can use to reproduce the problem.
--
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