[pmwiki-users] Custom Markup: $2 does not work correctly (regexp problem?)
Dawid Gajownik
gajownik at gmail.com
Mon Aug 28 16:22:53 CDT 2006
Dnia 08/25/2006 03:12 PM, Użytkownik Dominique Faure napisał:
> Markup("boxfile", "<split",
> '/\\(:boxfile\s+([^|]+)\|\s*(.*?):\\)/se',
> "'<:block>'.Keep('<div class=\"boxfile\"><p><strong>File:</strong>
> $1</p><pre>$2</pre></div>')");
Thank you very much :) Would you be also willing to explain me what is
this "<:block>" thing for? I haven't found explanation at pmwiki.org.
Oh, one more question: how vulnerable can be this example? On
http://pmwiki.org/wiki/PmWiki/CustomMarkup someone wrote that /e option
can be insecure.
Regards,
Dawid
--
^_*
More information about the pmwiki-users
mailing list