On Mon, Feb 19, 2001 at 06:21:58PM -0500, Bruce A. Petro wrote:
>Can you point me to some book or doc or man that says things in fairly
>plain english as you did???  I'm finding a lot of docs on regexps that
>are hard to translate when you are just starting out like me.

"man 5 regexp" on HP-UX
"man grep" or "man ed" on almost all systems
The info. in info on a GNU system (e.g., GNU/Linux) is usually
helpful, or failing that, the info within GNUEmacs (providing the info
documentation for it was installed/kept on your system).  By default,
Ctrl-H i gets you into GNUEmacs info mode once in the editor itself.

-- 
Oooooo-oooo-oooo-ooooo, Oooooo-oooo-oooo-ooooo, Ooooo-weem-oh-wum-ooo-ayyy
In the jungle, the silicon jungle, the process sleeps tonight.
Joe Philipps <[EMAIL PROTECTED]>, http://www.philippsfamily.org/Joe/
public PGP/GPG key 0xFA029353 available via http://www.keyserver.net













On Mon, Feb 19, 2001 at 06:21:58PM -0500, Bruce A. Petro wrote:
>Many thanks!
>Can you point me to some book or doc or man that says things in fairly
>plain english as you did???  I'm finding a lot of docs on regexps that
>are hard to translate when you are just starting out like me.  They
>don't seem to say things like:
>> The "." means "any character", so ".*" means "any string of characters".
>
>Also, question: I understand the leading .* based on your remark, but
>what about the trailing .* ??  The TO address should always end with t
>the ".com" - is there a need for it, or were you just being ultra
>cautious to get everything possible?
>
>THANKS AGAIN!
>Bruce.
>
>
>On Sat, Feb 17 03:58AM, Nollaig MacKenzie wrote:
>> 
>> On 2001.02.16 23:23:57, you,
>>  the extraordinary Bruce A. Petro, opined:
>> 
>> > 
>> > Hi - I'm new at regexp's and don't know how to do this...
>> > 
>> > The main question is from procmail regexp I did that is
>> > not working.  I want it to find all mail where the TO:
>> > contains "@about.com" ("[EMAIL PROTECTED], [EMAIL PROTECTED]).
>> > Any suggestions why its not working?
>> > :0:
>> > * ^[EMAIL PROTECTED]
>> > about.com
>> > 
>> Try:
>> 
>> :0:
>> * ^To: .*about.com.*
>> about.com
>> 
>> The "." means "any character", so ".*"
>> means "any string of characters".
>> 
>> Cheers, N.
>> 
>> -- 
>> Nollaig MacKenzie <[EMAIL PROTECTED]>
>>      http://www.amhuinnsuidhe.cx
>> Oppose renaming Mt Logan!! http://www.savemtlogan.com

-- 
Oooooo-oooo-oooo-ooooo, Oooooo-oooo-oooo-ooooo, Ooooo-weem-oh-wum-ooo-ayyy
In the jungle, the silicon jungle, the process sleeps tonight.
Joe Philipps <[EMAIL PROTECTED]>, http://www.philippsfamily.org/Joe/
public PGP/GPG key 0xFA029353 available via http://www.keyserver.net

PGP signature

Reply via email to