Sublime Forum

Sublime Text regex: searching for words with all uppercase letters doesn't work

#1

For instance, this

\b[A-Z]+\b

finds words with letters in either uppercase or lowercase.

Am I missing something obvious?

0 Likes

#2

Did you activate the “Case sensitive” option?
image

0 Likes

#3

Thanks – that works. I assumed that ST would correctly interpret the regex as is.

0 Likes

#4

It does so. It just sets the (?i) flag depending on toggle state of case sentitive button.

1 Like