[TxMt] Re: How to search for ...
Patrick Mast
textmate at pm7.us
Fri Jul 2 10:38:24 UTC 2010
Hello,
> How can I search my files in textmate for:
> > <spaces...>USE<space>
> > Where <spaces...> is any number of spaces and <space> is just one space.
>
> Use a regular expression, something like \s+USE\s would do it. Make sure to
> tick the box saying "Regular Expression" in the find dialog (or hit
> cmd-alt-r to toggle it.)
>
Thanks!
Now, this regular expression also finds:
anything here USE test
while I only want the search to be true if there is noting in front of USE,
ONLY spaces.
Patrick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20100702/c14a6c96/attachment.html>
More information about the textmate
mailing list