in reply to Re: Hlelp regarding regex
in thread Hlelp regarding regex
Sorry for the unclear spec...Hope the below is clear
Spec:- After the last "\" $x should match the pattern Y(digit)(number).The reason is "$x" is given as an option by the user and we use the letter to distinguish the location of some files,we only want to process locations with letter Y.Can you please help?
my $x = "\\\\files\\builds\\data\\M9998SBQCACSYD30401S";-->should matc +h my $x = "\\\\files\\builds\\data\\M9998SBQCACSAD30401S";-->Should not +match
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Hlelp regarding regex
by bart (Canon) on Jun 02, 2011 at 08:39 UTC | |
|
Re^3: Hlelp regarding regex
by wind (Priest) on Jun 02, 2011 at 15:25 UTC |