[pmwiki-devel] e modifier

John Rankin john.rankin at affinity.co.nz
Sat Aug 9 16:37:05 CDT 2014


> I have the following
>
> Markup( 'ChordPro',
>   'fulltext', "/\\|\\|:(.*?):\\|\\|/s*e*im",
>   "Keep(ChordPro_Parse(explode(\"\n\",PSS('$1'))))" );
>
> Having read the documentation
>
> Markup_e( 'ChordPro',
>   'fulltext', "/\\|\\|:(.*?):\\|\\|/sim",
>   "Keep(ChordPro_Parse(explode(\"\n\",PSS(\$m[1]))))" );
>
> seems to work.
> Just wanting to confirm that is all I have to do?

You can omit the PSS call -- callback functions don't escape quote marks,
so there are no added \ characters to remove.

JR
-- 
John Rankin




More information about the pmwiki-devel mailing list