|
From: Jochen V. <vo...@se...> - 2005-01-28 16:02:01
|
Hello Darren,
On Wed, Jan 26, 2005 at 03:08:17PM -0500, Darren Dale wrote:
> I can't render the eps file because of the way that "a)" is recorded ["(a=
)"=20
> will render, so its just a parsing issue]. I think, in the eps file "(a))=
=20
> show" should read "(a\)) show" for the image will render.
Thank you for spotting this. I fixed it in CVS.
John: my fix contains the fancy expression
re.sub(r"[^ -~\n]", lambda x: r"\%03o"%ord(x.group()), s)
to quote all non-ASCII characters. Is this safe with all supported
Python versions or do I need to be more portable here?
All the best,
Jochen
--=20
http://seehuhn.de/
|