in reply to Re^2: macthing a word a in array of words
in thread macthing a word a in array of words
Now that whitespace is not a factor, for the match then anchor the search term to front and rear. /^dog$/; matches dog but not doggie let me know how you get along with those hints.s/^\s+//; #remove leading whitespace s/\s+$//; #remove trailing whitespace
|
|---|