Ditto icon indicating copy to clipboard operation
Ditto copied to clipboard

REGEX search forces case sensitivity, whereas "contains" does not

Open numericOverflow opened this issue 2 years ago • 2 comments

I'm not sure if this is intentional or a bug, but when I have "Search Options" -> "Regular Expression Search" enabled, the searches are forced to be case sensitive. However "contains" acts as a case insensitive search.

I find that I often forget if I have REGEX or "contains" selected, so when switching between the two modes, they act differently when it comes to case sensitivity. I end up missing entry hits where I know the term(s) were used, which is quite annoying.

If it's working as intended, is it at least possible to add a settings option that affects all searches for either case sensitivity or insensitivity?

numericOverflow avatar Jul 25 '22 14:07 numericOverflow

Also found the problem. Don't know since when it's case-sensitive again.

I found from the changelog "3.22.88.0 12-20-2019", it said: Regular expression matching is case insensitive.

Max33Verstappen avatar Aug 03 '22 18:08 Max33Verstappen

Can use switch (?i)pattern or (?i:pattern) to switch case-sensitive off, but the result won't be highlighted.

Max33Verstappen avatar Aug 04 '22 08:08 Max33Verstappen