I am trying to write a regex for a string based on this description. A string is a sequence of characters beginning and ending with a double-quote mark (") and with any other normal character in between. The delimiting quotes are not considered part of the string, but should be kept with the string token for this exercise. A double-quote mark is allowed inside of the string when preceded by a backslash (\); for example: "I said, \"Hello!\"" is a string containing two double-quote marks.
Currently my regex posted below will work for all "strings" except something with \" text text \" in it. Help would be awesome.
This post has been edited by ethan.pippitt: 19 November 2009 - 05:39 PM