Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Regular expressionby PugSA (Beadle) |
on Sep 16, 2008 at 13:17 UTC ( [id://711676]=perlquestion: print w/replies, xml ) | Need Help?? |
PugSA has asked for the wisdom of the Perl Monks concerning the following question: Hi Monks I postes in chatterbox but thought to post a more accurate picture of what I am trying to accomplish Thank you for your time I am tryning to match in $record CPOSTA_1221170039_C1_F1 but it includes the whole path when it matches This is what I match => 49\backup\rbgmst02_dd2\stu1\CPOSTA_1221170039_C1_F1 how do I get it not to include the \ and why does it match the \ for interest sake? I have tried [^\\] but it then just does not match anything
Back to
Seekers of Perl Wisdom
|
|