CODE
<MTMacroDefine name="convertlinks" pattern="m/(((f|ht){1}tp://)[-a-zA-Z0-9@:%_\+.~#?&//=]+)/"><a href="\\1">\\1</a></MTMacroDefine>
When I rebuild with this, I get the following error:
CODE
Building entry 'HELLO WORLD' failed: Build error in template 'Individual Entry Archive': Error in <MTEntryIfAllowComments> tag: Error in macro pattern: Unmatched ( in regex; marked by <-- HERE in m/(( <-- HERE (f|ht){1}tp:/ at (eval 88) line 2, <DATA> line 252.
Is my pattern definition wrong? It is valid code from PHP!
Thanks.