twitlatte icon indicating copy to clipboard operation
twitlatte copied to clipboard

Regex muting not working on retweets

Open ckuethe opened this issue 7 years ago • 7 comments

I'm glad that this program has regex mutes for tweets, but it doesn't seem to be working when people retweet a post with some of my muted words.

ckuethe avatar Feb 02 '19 19:02 ckuethe

Hello. What regex are you using?

moko256 avatar Feb 03 '19 01:02 moko256

democrat|republican

ckuethe avatar Feb 03 '19 06:02 ckuethe

I have a longer, more complicated, regex but the previous example is sufficient to reproduce the issue.

To test, I created my regex pattern, force quit twitlatte, cleared the cache, and restarted the program.

Are the patterns case sensitive?

ckuethe avatar Feb 03 '19 06:02 ckuethe

And is there a maximum length of pattern?

ckuethe avatar Feb 03 '19 06:02 ckuethe

case sensitive: yes maximum of length: no

moko256 avatar Feb 03 '19 10:02 moko256

Could you add an option to make regexes case insensitive?

ckuethe avatar Feb 03 '19 20:02 ckuethe

Inserting (?i) in the first will make regex case insensitive, but I will add the options for easy use.

moko256 avatar Feb 04 '19 00:02 moko256