[stringtemplate-interest] Replacing double quotes by single quotes in output strings?

Thierry Coq tcoq at free.fr
Tue Dec 15 12:51:36 PST 2009


Hello,

is it possible to replace a double-quoted string, for example "HS" by 
single quotes: 'HS', and double single quotes when needed: for example: 
"'='" becomes '''=''', in the ANTLR code generator?

I'm looking for a regexp, but I can't seem to find it.

Best regards,
Thierry


More information about the stringtemplate-interest mailing list