goal is a webpy based code paste: so as code is pasted, i need to addslashes per the javscript framework that is highlighting the code.
(re imported): >>> string = >>> 'http://ayaz.wordpress.com/2007/04/22/reescape-pythons-equivalent-of-phps-addslashes/><><><' >>> print re.escape(string) http\:\/\/ayaz\.wordpress\.com\/2007\/04\/22\/reescape\-pythons\- equivalent\-of\-phps\-addslashes\/\>\<\>\<\>\< the lt/glt's were added on the string to ensure the function tested for them. now if i write this to a table, how can i make it to the original string again? -- You received this message because you are subscribed to the Google Groups "web.py" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/webpy?hl=en.
