I've been trying to write a sub to return an array of words and quote-delimited phrases when passed a string, but I can't seem to get the regular expression right no matter what I do.
I don't need to deal with arbitrary nesting. In fact I'm only going one level deep. I also don't need balanced text parsing, i truly just want the quote-delimited phrases and the words, hopefully with a single regexp.
Suggestions? Pointers? Answers?
Gracias!
In reply to phrase and word searching by ManyCrows
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |