mirror of
https://github.com/discourse/discourse.git
synced 2025-02-24 03:24:10 +08:00

The generated regular expressions did not contain \b which matched every text that contained the word, even if it was only a substring of a word. For example, if "art" was a watched word a post containing word "artist" matched.