search - Finding text, excluding supersets in Sublime -


i remember hearing option search exact word in sublime, can't seem find it.

what mean if search write, i'd exclude instances of foo_write, foowrite, etc.

how can done?

hit ctrlf (win/lin) or cmdf (os x) open find tab. make sure first button on left (regular expressions) selected. in search field, enter \bfoo\b , click find button or hit ctrlg/cmdg search. \b token indicates word boundary, including spaces, punctuation marks commas, periods/full stops, question marks, etc.


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

android - Keyboard hides my half of edit-text and button below it even in scroll view -

css - Make div keyboard-scrollable in jQuery Mobile? -