mediawiki-extensions-AbuseF.../tests/parserTests/like.t
Ori Livneh 0e36b728e3 Fix double escaping in AFPData::keywordLike()
If we don't map '\-' and '\+' to themselves, the leading slash gets escaped,
and the resultant pattern only matches a literal slash.

Bug: 67670
Change-Id: Ifa1e3edd6f41985a3bb97bfb1497985f8fa64af5
2014-07-11 14:56:42 -07:00

2 lines
52 B
Perl

"f+oo-bér" like "f+oo-b?r" & "quux" matches "qu*x"