Re: Regex for matching a quoted string with possible escape characters
Posted by John Dunlop on 09/18/05 12:02
Adam Atlas wrote:
> I seek a regular expression, pcre or ereg (it doesn't matter), which,
> given a quoted string (e.g. "foo" => foo) will return the contained
> text, but that will accommodate escaped quote characters within the
> string (e.g. "foo\"bar" => foo"bar).