in reply to dir match, dir may or may not appear
Thanks... what you gave worked:
$path =~ m|^usr/(?:/[^/]+)?/bin/|
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: dir match, dir may or may not appear
by GrandFather (Saint) on Jan 13, 2016 at 05:34 UTC |
In Section
Seekers of Perl Wisdom