Re: regex help

Página Inicial
Anexos:
Mensagem como email
+ (text/plain)
Delete this message
Reply to this message
Autor: Matrix Mole
Data:  
Para: Main PLUG discussion list
Assunto: Re: regex help
JT Moree wrote:
> sorry, forgot the extra text
>
> s|^(.*)/home/matrixm(.*)/home/matrixm(.*)$|$1/home/matrixm$2/home/matrixm/tmp/$3|
>


I'm guessing that perl uses () as the manner in which to save the
results of a search much like \( \) is used in vi and sed scripts. Then
$1 would recall the first saved expression similar to \1 in vi/sed. That
will give me enough to do what I need, thank you.

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