I like the idea of using map this way but I couldn't get this to work. It just prints blank lines. I tried putting a '\' in front of the s* but that didn't help. It looks to me like the /\b +\b/g won't return anything without parenthesis. I'm not sure how to make this work.
In reply to Re^5: How to improve regex for parsing equals delimited data
by Lotus1
in thread How to improve regex for parsing equals delimited data
by Lotus1
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |