eramdam / BetterTweetDeck

A browser extension to improve TweetDeck with a lot of features
https://better.tw
MIT License
1.11k stars 115 forks source link

Not sure this is a bug , but valid REGEX not working #670

Closed JimDop closed 2 years ago

JimDop commented 3 years ago

/\$.\$.\$/s

or

\$.\$.\$/s

Will match a count of the $ char if there are 3 or more in a tweet. Not working when tried under the muting option. Tested as good in a regex engine

Tried various flavors of regex, none seem to work .

JimDop commented 3 years ago

no one ?

pixeldesu commented 3 years ago

Multiple things to note:

If I test the regex, the valid one should be \$.+\$.+\$ for the input instead.

In general, not every regex tends to work with the filter mechanism of TweetDeck, not sure what exactly causes it, but sometimes it requires some experimentation as well.

JimDop commented 3 years ago

\$.\$.\$.*

This works, (note * not +) but only if the $ is on the same line

Cant figure out how to get the match to count all characters in the tweet (ie jump across newlines) , without using that /s modifier