[pmwiki-users] Issue with blocklist regex (for /\bcialis\b/), blocking word spécialisé
Patrick R. Michaud
pmichaud at pobox.com
Mon May 2 18:44:22 CDT 2016
On Tue, May 03, 2016 at 01:16:37AM +0200, ABClf wrote:
> Not a big issue, but a strange one : my blocklist has an entry copied
> from PmWiki's :
> This wrongly blocks the word "spécialisé" on my website whereas
> everything is fine in PmWiki, where "spécialisé" is allowed, as
> (Can check the issue in www.languefrancaise/Test group).
I suspect the problem is somehow due to UTF-8 encoding. The regular
expression engine may not be recognizing "é" as a valid word
character, so "cialis" appears to be surrounded by non-word characters
and thus matches the \b (word boundary) assertions.
I don't have an immediate answer for how to fix this one.
More information about the pmwiki-users