Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Jolly Roger Newsgroups: comp.sys.mac.system Subject: Re: Testing Regular Expression on OS-X Date: 26 Nov 2013 21:19:24 GMT Organization: People for the Ethical Treatment of Pirates Lines: 24 Message-ID: References: <52944d38$0$17083$c3e8da3$40d4fd75@news.astraweb.com> <52950105$0$9159$c3e8da3$9f400e27@news.astraweb.com> X-Trace: individual.net YhG+cwrmVQCaYHYPUlBjhgBhjVz09IjHezOBUHw5B0M9xzqEZ4 Cancel-Lock: sha1:d3rQcUPxDRRddDnBSYZyAab1fqQ= X-Face: _.g>n!a$f3/H3jA]>9pN55*5<`}Tud57>1Y%b|b-Y~()~\t,LZ3e up1/bO{=-) User-Agent: slrn/1.0.1 (Darwin) Xref: csiph.com comp.sys.mac.system:52716 On 2013-11-26, JF Mezei wrote: > On 13-11-26 11:12, Jolly Roger wrote: > >> I usually end up using TextWrangler for that. > > Another good suggestion. Hadn't realised that clicking on the "grep" > option for a find allows regular expressions. Even detects the special > characters in the find string. This is perhaps even better than the echo > option sicne I can take full header of a spam message and make various > tests. Yeah. I find myself in TW so often, and the regex support is so good,nd you can shove whatever content you want into the document to test multiple use cases and so on. It's handy. As others have mentioned, not all applications support regex in the same manner. In those cases, you'll have to edit the expression to use alternative methods. -- E-mail sent to this address may be devoured by my ravenous SPAM filter. I often ignore posts from Google. Use a real news client instead. JR