I think in the $string =~ s/\"(.*?)\"?/$1/; version both the .*? and the \"? are non-greadyNo, \"? is greedy. \"?? would be non-greedy.
In reply to Re^2: Matching quote characters?
by betterworld
in thread Matching quote characters?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |