Is it worth the added complexity to use a JSON module, if all I want are the two strings listed here?
You have it backwards. Calling a function is much simpler than developing a long regex pattern. As it is, your parser is highly incomplete. It can't even handle simple things like strings with quotes in them.
In reply to Re^3: Regular expression not working
by ikegami
in thread Regular expression not working
by oakb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |