2012/4/9 Subbu Allamaraju <su...@subbu.org>:
> I came across a similar issue in supporting escaped quotes in quoted
> strings.
Have a look how this is handled e.g. in the JSON example grammar [1]
(look at the "string" rule and other rules it references).
[1] https://github.com/dmajda/pegjs/blob/master/examples/json.pegjs
--
David Majda
Entropy fighter
http://majda.cz/