[TxMt] Re: Limit find to scope

Rasmus Malver rasmus at malver.dk
Thu Jan 2 10:43:25 UTC 2014


It is a good idea, but until it is implemented, there is another way. 
Best described in xkcd.com/208 <http://xkcd.com/208/>.

E.g. (search for needle in php comments): //.*needle|(?m)/\*[^\*/]*needle

Rasmus

Regular Expressions by xkcd

On 02/01/14 04.03, Allan Odgaard wrote:
> On 31 Dec 2013, at 19:59, Jacob Carlborg wrote:
>
>> When doing a find, is it possible to limit the search to a scope, 
>> like comments?
>
> That is not possible, but it is something I would like to add.
>
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate

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


More information about the textmate mailing list