Don't ask to ask, just ask | |
PerlMonks |
Help with a regexby cspctec (Sexton) |
on Dec 04, 2013 at 19:07 UTC ( [id://1065634]=perlquestion: print w/replies, xml ) | Need Help?? |
cspctec has asked for the wisdom of the Perl Monks concerning the following question:
I have an array that has the following values:
and I need to match only "lib", not "nfcclib". I have tried the following regex with no success... I thought the carrot and dollar sign meant the beginning and end of the string, but it matches nfcclib also. Any help is appreciated.
Back to
Seekers of Perl Wisdom
|
|