Stripping C-style comments using a Python regexp

lorinh at gmail.com lorinh at gmail.com
Wed Jul 27 13:03:33 EDT 2005


Neat! I didn't realize that re.sub could take a function as an
argument.  Thanks.

Lorin




More information about the Python-list mailing list