"Match whole words" does not accept underscores in
Posted: Fri May 12, 2017 9:37 am
Most programming languages, especially C++, treat underscores as correct symbol of an identifier.
However, while searching for an identifier with underscore, "Match whole words" flag is disabled, bringing some frustration.
I see 3 ways to fix this problem:
A) add '_' to the fixed list of word characters unconditionally
B) add '_' to the list of word characters via (per-document-class) some flag
C) treat 'whole words' flag more like grep does, i.e. make it work even when search string contains some non-word characters
Either way is OK for me, please do something
However, while searching for an identifier with underscore, "Match whole words" flag is disabled, bringing some frustration.
I see 3 ways to fix this problem:
A) add '_' to the fixed list of word characters unconditionally
B) add '_' to the list of word characters via (per-document-class) some flag
C) treat 'whole words' flag more like grep does, i.e. make it work even when search string contains some non-word characters
Either way is OK for me, please do something