You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to World's Simplest Code Generator
Hey there! Fantastic tool but I've managed to break it somehow. If
you put in <% if $0 %> for the substitution pattern I get
"(SyntaxError in "<% if test %>": "undefined")" (where test was the
input data). I pretty sure this is tripping up the javascript regular
expression somehow but I'm not familiar with the code but it looks
like it's tripping up this line: var m = result.match(new RegExp("<%(\
[\\s\\S\]*?)%>", 'g'));