[pmwiki-devel] stripmagic
christian.ridderstrom at gmail.com
christian.ridderstrom at gmail.com
Fri Dec 29 10:59:07 CST 2006
> It might be better if the example were taken from something in the
> PmWiki core, or perhaps a simpler example. Maybe something like:
>
> Markup('example', 'directives',
> '/\\(:example\\s(.*?):\\)/e',
> "Keep('<div>'.PSS('$1').'</div>')");
>
> Here we need PSS() around the '$1' because the matched text
> could contain quotation marks, and the /e will add backslashes
> in front of them.
Ok. I updated
http://pmwiki.org/wiki/PmWiki/Functions#PSS
plese have a look
/Christian
--
Christian Ridderström, +46-8-768 39 44 http://www.md.kth.se/~chr
More information about the pmwiki-devel
mailing list