@ivory The trouble you get in with a regex like that, though, is that it doesn't block out "Elon." or "#IdiotElon" constructs.
Would something like
\b(elon)\b
Also work to match word boundaries?
Top-level
@ivory The trouble you get in with a regex like that, though, is that it doesn't block out "Elon." or "#IdiotElon" constructs. Would something like \b(elon)\b Also work to match word boundaries? 1 comment
|
@xinit @ivory It should, and the ( ) are not needed here, just \belon\b