u/C4ingu

Case insensitive matches

I personally believe this should be posted in the docs for all the anxious people that forget about the caps lock key, the easy way to make case insensitive matches that I found after reading around is:

Instead of using:

- trigger: :mymatch

replace mytext

use:

- regex: (?i):mymatch

replace: mytext

I swapped most the matches i use to that and works like a charm and seriously believe it should be part of the docs BEFORE sending you down the rabbit hole of regex.

reddit.com
u/C4ingu — 13 days ago