Skip to content

Selecting lowercase characters also matches with the upper case but not the other way around #11982

Answered by pascalkuthe
fklose asked this question in General
Discussion options

You must be logged in to vote

That's called smart-case and intentional. It will be case insensitive if everything is lower case and case sensitive if there is any uppercase character in the regex. You can prefix your regex with (?-i) to disable that behavior or disable the corresponding config option

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@fklose
Comment options

Answer selected by fklose
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug
2 participants
Converted from issue

This discussion was converted from issue #11981 on October 31, 2024 19:04.