> so i've setup a variable like: > singleTerms = xIns[?"(\"[^\"]+\")|([^\s]+)"] >
The above produces an error message on my machine because " is used as a delimiter with ?" as well as a character in the string. Something like singleTerms = xIns[?/(\"[^\"]+\")|([^\s]+)/] gets rid of the error message. I don't know enough about REs to comment on how the result should work.
