[TxMt] Re: How to search for ...

Caius Durling caius at caius.name
Fri Jul 2 10:46:30 UTC 2010


On 2 Jul 2010, at 11:38, Patrick Mast wrote:

> 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.


Ah, then you need to specify it searching from the start of the line with ^

	^\s+USE\s

C
---
Caius Durling
caius at caius.name
+44 (0) 7960 268 100
http://caius.name/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20100702/e3c59807/attachment.html>


More information about the textmate mailing list