Remove double quotes from ADS comments and do not use flags in re.sub.

Fixes #24 and Snow Leopard compatibility.