Why does the letter é count as a word boundary matching \\b in the following example?
é
\\b
Pattern: /\\b(cum)\\b/i
/\\b(cum)\\b/i
Text:
To deal with unicode, replace \b with
\b
/(?<=^|\PL)(cum)(?=\PL|$)/i