Re: Help needed with regular expressions

Kezdőlap
Csatolmányok:
Üzenet email-ben
+ (text/plain)
Üzenet törlése
Válasz az üzenetre
Szerző: Darrin Chandler
Dátum:  
Címzett: Main PLUG discussion list
Tárgy: 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