Regex Filter Not Working In Sublime Text Search
I'm trying to find all the camel case strings in a Sublime project that meet the following criteria: Begins with at least one lowercase letter, followed by at least one capital le
Solution 1:
I suggest turning off case insensitivity inside the regex pattern with (?-i)
or (?-i:...)
to avoid issues with the options, and also using a +
instead of {1,}
increases readability (IMHO).
'(?-i)[a-z]+[A-Z][A-Za-z]+'
Even though the Aa
(case sensitive search) is not enabled, the pattern is still handled in a case sensitive way.
Post a Comment for "Regex Filter Not Working In Sublime Text Search"