Prat 3.0

Prat 3.0

26M Downloads

regex for chat filter?

Closed this issue ยท 1 comments

commented

I love that I am able to filter for certain words with prat. That being said, it can be tedious to make so many entries for each filter.

Is it possible to use regex when doing these search filters of chat? such as filters words like LFG, LFM, LF1M, LF2M, Layer with (?i)\b(lfg|lfm|lf\d*m|layer)\b?

Or is there no way to do this, just have to make an entry for each?
thanks!

commented

excuse my ignorance very new to all of this -- seems that Lua doesn't have regular expression search functions built into it like py or js.