subclean icon indicating copy to clipboard operation
subclean copied to clipboard

enforce case sensitivity for regex

Open Irek7 opened this issue 1 year ago • 4 comments

I tried to enforce case sensitivity but [S] and [s] seems to be equal for the engine. Is there any other way I can enforce that?

Irek7 avatar Jul 13 '23 16:07 Irek7

Can you please provide an example where this would benefit from case-sensitive filters?
Lowercase matching was used because many providers were using camel case or full caps, lowercase matching ensured the filters would match even with odd capitalization.

DrKain avatar Jul 13 '23 17:07 DrKain

for example, someone uses quite generic name RufuS. Simple one line with it. But I can imagine that there are some ppl/places/stuff named like Rufus.

Irek7 avatar Jul 13 '23 17:07 Irek7

Generally those would be avoided, at the very least I can look into making the user filters case-sensitive but not the main ones.

DrKain avatar Jul 13 '23 17:07 DrKain

Best would be switch at the end of filter: „/RufuS/i”

Thanks.

Irek7 avatar Jul 13 '23 18:07 Irek7