FIX: Make replace watched words work with wildcard (PR #13084)

Watched words are always regular expressions, despite watched_words_ _regular_expressions being enabled or not. Internally, wildcard characters are replaced with a regular expression that matches any non whitespace character.


This pull request has been mentioned on Discourse Meta. There might be relevant details there: