[TxMt] Re: find whole word

Matt Bauman mbauman.lists at gmail.com
Wed Mar 11 20:52:08 UTC 2009


On Wed, Mar 11, 2009 at 2:31 PM, Robert J. Carr <rjcarr at gmail.com> wrote:
> I'm sure this can be accomplished with a regular expression but I'm
> looking for an easy way to find a whole word.

It sure can be accomplished with a regular expression.  And it's easy.

Just surround your word with the 'word boundary' token: \b

> For xample, if I have these types in a file:
>
> Listener
> ClickListener

Tick the regular expression box and search for '\bListener\b'



More information about the textmate mailing list