in reply to Matching exact string
you have said lv... and told that you don't want to match lvabc, then try the above, but i think it will match anything other than a b and c at the appropriate positions, give more clarity on your possible kinds of inputs and expected match.if($line =~ m#/volumes/VGNEW1/lv[^a][^b][^c]#) {
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Matching exact string
by himanshu.padmanabhi (Acolyte) on Mar 24, 2009 at 13:30 UTC |