Oh man, do I feel stupid! Adding the asterisk makes everything work as desired. I guess that's one of the few times that Perl will do what you tell it to, instead of what you want it to. Thank you for helping ease my shame with your kind remark.
Is it worth the added complexity to use a JSON module, if all I want are the two strings listed here?
In reply to Re^2: Regular expression not working
by oakb
in thread Regular expression not working
by oakb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |