Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.mac.system > #52716

Re: Testing Regular Expression on OS-X

From Jolly Roger <jollyroger@pobox.com>
Newsgroups comp.sys.mac.system
Subject Re: Testing Regular Expression on OS-X
Date 2013-11-26 21:19 +0000
Organization People for the Ethical Treatment of Pirates
Message-ID <bfkhisFhuccU1@mid.individual.net> (permalink)
References <52944d38$0$17083$c3e8da3$40d4fd75@news.astraweb.com> <bfjvk9FduirU2@mid.individual.net> <52950105$0$9159$c3e8da3$9f400e27@news.astraweb.com>

Show all headers | View raw


On 2013-11-26, JF Mezei <jfmezei.spamnot@vaxination.ca> 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

Back to comp.sys.mac.system | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Testing Regular Expression on OS-X JF Mezei <jfmezei.spamnot@vaxination.ca> - 2013-11-26 02:26 -0500
  Re: Testing Regular Expression on OS-X Sandman <mr@sandman.net> - 2013-11-26 09:19 +0000
    Re: Testing Regular Expression on OS-X JF Mezei <jfmezei.spamnot@vaxination.ca> - 2013-11-26 15:07 -0500
      Re: Testing Regular Expression on OS-X Richard Kettlewell <rjk@greenend.org.uk> - 2013-11-26 20:13 +0000
      Re: Testing Regular Expression on OS-X David Ritz <dritz@mindspring.com> - 2013-11-26 14:18 -0600
      Re: Testing Regular Expression on OS-X Sandman <mr@sandman.net> - 2013-11-26 21:25 +0000
  Re: Testing Regular Expression on OS-X Barry Margolin <barmar@alum.mit.edu> - 2013-11-26 10:43 -0500
    Re: Testing Regular Expression on OS-X Jolly Roger <jollyroger@pobox.com> - 2013-11-26 16:13 +0000
    Re: Testing Regular Expression on OS-X Sandman <mr@sandman.net> - 2013-11-26 21:19 +0000
  Re: Testing Regular Expression on OS-X Jolly Roger <jollyroger@pobox.com> - 2013-11-26 16:12 +0000
    Re: Testing Regular Expression on OS-X JF Mezei <jfmezei.spamnot@vaxination.ca> - 2013-11-26 15:13 -0500
      Re: Testing Regular Expression on OS-X Jolly Roger <jollyroger@pobox.com> - 2013-11-26 21:19 +0000
  Re: Testing Regular Expression on OS-X Lewis <g.kreme@gmail.com.dontsendmecopies> - 2013-11-26 22:22 +0000
    Re: Testing Regular Expression on OS-X Lewis <g.kreme@gmail.com.dontsendmecopies> - 2013-11-26 22:23 +0000
  Re: Testing Regular Expression on OS-X Martin Τrautmann <t-usenet@gmx.net> - 2013-11-27 07:42 +0000
  Re: Testing Regular Expression on OS-X Nelson <nelson@nowhere.com> - 2013-11-27 16:17 -0500

csiph-web