When doing a find, is it possible to limit the search to a scope, like comments?
On Jan 1, 2014, at 7:03 PM, Allan Odgaard mailinglist@textmate.org 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.
+1. This would be great to have. m.
-- matt neuburg, phd = matt@tidbits.com, http://www.apeth.net/matt/ pantes anthropoi tou eidenai oregontai phusei Programming iOS 7! http://shop.oreilly.com/product/0636920031017.do iOS 7 Fundamentals! http://shop.oreilly.com/product/0636920032465.do RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html TidBITS, Mac news and reviews since 1990, http://www.tidbits.com
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@lists.macromates.com http://lists.macromates.com/listinfo/textmate