cspctec has asked for the wisdom of the Perl Monks concerning the following question:
and I need to match only "lib", not "nfcclib". I have tried the following regex with no success...nfcclib lib
I thought the carrot and dollar sign meant the beginning and end of the string, but it matches nfcclib also. Any help is appreciated./^lib$/ /^lib/
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Help with a regex
by Kenosis (Priest) on Dec 04, 2013 at 19:22 UTC | |
|
Re: Help with a regex
by Eily (Monsignor) on Dec 04, 2013 at 19:24 UTC | |
|
Re: Help with a regex
by monkey_boy (Priest) on Dec 04, 2013 at 19:22 UTC | |
|
Re: Help with a regex
by Lennotoecom (Pilgrim) on Dec 05, 2013 at 00:04 UTC |