C String recognizer in Python?

Skip Montanaro (montnaro@ausable.crd.ge.com)
Fri, 16 Sep 1994 20:40:57 GMT

Hi gang. I need to recognize C strings (in all their glory, including
escaped " and newline characters) from Python. Anybody got a snippet of
Python code that does the trick? The input will be cpp output.

Thx,

--
Skip Montanaro:						 skip@automatrix.com
Automatrix - World-Wide Computing Solutions:	  http://www.automatrix.com/
VW van Web server:		 http://www.automatrix.com/~skip/volkswagen/