mirror of
https://github.com/discourse/discourse.git
synced 2025-02-08 12:24:55 +00:00
Watched words were converted to regular expressions containing \W, which handled only ASCII characters. Using [^[:word]] instead ensures that UTF-8 characters are also handled correctly.