my $regex = qr/^['"]?(.*?)['"]?$/;
Note that this regex will also match oddballs like q{'Now is the time} and q{'Now is the time"}
Give a man a fish: <%-{-{-{-<
In reply to Re^2: regex is not working as I intended
by AnomalousMonk
in thread regex is not working as I intended
by fireblood
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |