EnhanceAnyLexer
EnhanceAnyLexer copied to clipboard
RegEx appears to be always case insensitive.
I don't know if there's any fix for this, but I was trying to detect class names with the following regex: (?<=\s)[A-Z][A-z]* which should check for any space followed by an uppercase character and then a bunch of lowercase characters. Instead, it seems to match all words. I tested a few other case-sensitive regexes (such as [[:u:]] as well as classes like [A] or literals as just A, but it seems like all of these are case insensitive.
@BlueEyedFoxUnderscore
using the pattern modifier (?-i) before your regex should do what you want.
(?-i)(?<=\s)[A-Z][A-z]*
This issue has been automatically closed because it was marked as invalid and received no response in 28 days.