Re: regex help

Page principale
Attachements:
Message en tant que courrier électronique
+ (text/plain)
Supprimer ce message
Répondre à ce message
Auteur: Matrix Mole
Date:  
À: Main PLUG discussion list
Sujet: 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