in reply to Re^2: delayed variable interpolation in a regular expression
in thread delayed variable interpolation in a regular expression
On an XP box (which is why you see the reversed quote notation). I also believe you're absolutely correct about the hyphen being acceptable as the last character (it's not "underscore to nothing").H:\>perl -e "$_='a';/[]a]/?print 'Y':print 'N'" Y H:\>
|
|---|