[Webkit-unassigned] [Bug 273254] [regex] Positive lookbehind should work properly

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 15 02:00:36 PDT 2024


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

--- Comment #5 from Karl Dubost <karlcow at apple.com> ---
OK
Just adding a Z on Error is making it work.

(?<=TData = |<)(\w+(?:ErrorZ|Response))

It seems there's a minimum size required on the strings to match set to 6 characters.

We can see that with 

(?<=TData = |<)(\w+(?:Respo))  FAIL
(?<=TData = |<)(\w+(?:Respon)) PASS

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240515/93755080/attachment.htm>


More information about the webkit-unassigned mailing list