[TxMt] find whole word

Robert J. Carr rjcarr at gmail.com
Wed Mar 11 19:31:34 UTC 2009


I'm sure this can be accomplished with a regular expression but I'm
looking for an easy way to find a whole word.  For xample, if I have
these types in a file:

Listener
ClickListener

And I do a find on "Listener", I'll hit both of these, although more
often than not, I want to match only the "whole" word, so just match
the first Listener.

I think this is easy to do by adding word boundaries around your
search (whitespace, ., [, (, {, etc), but I'm wondering if this
functionality is built in as an option that I'm missing.

Thanks-
Robert



More information about the textmate mailing list