Re: Help needed with regular expressions

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Darrin Chandler
Date:  
To: Main PLUG discussion list
Subject: Re: Help needed with regular expressions
Jerry Davis wrote:

>Here is a script I wrote many years ago, that helped me understand regexp's
>I called testre
>
>
>>testre '^[a-z][abc](.*)' "tcsh"
>>
>>
>|tcsh|
>captured value = sh
>
>it will put |'s around what was actually matched.
>and if you do capturing, i.e. a regexp inside of parens, it will show you what
>was captured.
>
>


Jerry! You ROCK!

-- 
Darrin Chandler            |  Phoenix BSD Users Group
   |  http://bsd.phoenix.az.us/
http://www.stilyagin.com/  |


---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss