in reply to Re: Regex weirdness?
in thread Regex weirdness?
Hmm. That regex looks far better than mine. I really should learn to use the /x modifier when dealing with regexes of a certain complexity. And yeah, the quote problem has occured to me as being a problem (which is why the linear approach is looking more and more appealing TBH).
Also, that regex seems to have the problem with recapturing the closing quote I had, as well as getting errors about using undefined values in a match (which Isuppose is due to \2 being unset in the first branch).