in reply to Re: Hlelp regarding regex
in thread Hlelp regarding regex
Sorry forthe 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 AnomalousMonk (Archbishop) on Jun 02, 2011 at 14:30 UTC |