Closed titanism closed 11 months ago
Looks like we can set it such as REGEXP '(?i)LINUS
with (?i)
in the regex itself, e.g. to match linus
, Linus
, LINUS
, etc. Having a flag would be great too somehow (?)
Yep, (?i)
is the way to go. I've updated the docs. No plans for a separate flag at this time.
@nalgeon awesome, thanks for adding to the docs for others! 🎉
P.S. if you want to see how we use it - see https://github.com/forwardemail/forwardemail.net/blob/8405a9ec5fcc38e2c6faff941c65eaca456e575c/helpers/imap/on-search.js#L271-L275 in our codebase for https://forwardemail.net (our email service running on SQLite 👍 )
We didn't see a way at least in the docs to pass a flag, e.g.
i
for case insensitivity. Curious how this can be accomplished?