In https://en.wikipedia.org/wiki/Special:AbuseFilter (more exactly, in a wiki where you have the right to search in filters' code).
Let's assume a filter containing this code exists: fooxxx foobar.
Using the "Search within rules:" input, search for foo(?=bar) regular expression.
Actual:
"foo" from "fooxxx" is displayed and highlighted.
Expected:
"foo" from "foobar" should be displayed and highlighted.
That's because the code currently works as so:
- there is a first pass using preg_match() for the actual search.
- then, if there is a match, for highlighting purpose: the captured text (here, "foo") is used for another search… using a plaintext search.