It is a good idea, but until it is implemented, there is another way. Best described in 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@lists.macromates.com
http://lists.macromates.com/listinfo/textmate