Search should also support explicitly "not whole word" search
Problem description
Sometimes I want to find the opposite of a "whole word" - i.e., "not a whole word" :)
Preferred solution
A new option in search ("not whole word") that allows us to find, well, not whole words.
Alternatives
None?
Additional Information
No response
May I ask the obvious question - why not just use a regex search? 🙂
May I ask the obvious question - why not just use a regex search? 🙂
\B to the rescue!
May I ask the obvious question - why not just use a regex search? 🙂
I feel regex is the opposite of good UX. Yes, it solves your problem, but for me it's too cumbersome to remember all the patterns. That's why we have UI features, no?
I personally disagree with this one... The amount of regex syntax you need to know for this use case is minimal, and cluttering the UI for options which users don't need nor fully understand is generally a bad idea... See the issues with the current whole word toggle for example: https://github.com/sublimehq/sublime_text/issues/1603
I personally disagree with this one... The amount of regex syntax you need to know for this use case is minimal, and cluttering the UI for options which users don't need nor fully understand is generally a bad idea... See the issues with the current whole word toggle for example: #1603
Ok. I agree that the decluttered UI is better, that's why I love Sublime in the first place, but in this case, it's a hidden feature, so I wouldn't mind. Anyway, we have our opinions :)