Any plan to support Match Whole Word? #10608
-
Do you have a plan to support "Match Whole Word" which is the most popular feature?
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
A couple things:
If you want to strictly find whole word matches, you can also construct a regular expression. E.g. to find sourcemap, you could try something like |
Beta Was this translation helpful? Give feedback.
-
This would make sense as a flag. It's a common feature in editors - I found myself trying several things to try to make it happen. Perhaps internally it could function by translating each term |
Beta Was this translation helpful? Give feedback.
A couple things:
If you want to strictly find whole word matches, you can also construct a regular expression. E.g. to find sourcemap, you could try something like
/(^|\W)sourcemap($|\W)/