[pmwiki-users] sorry again that Depricated: preg_replace error

Petko Yotov 5ko at 5ko.fr
Thu Jun 19 08:02:26 CDT 2014

Peter K.H. Gragert writes:
> Markup('galleria', 'inline', "/\\(:galleria\\s*(.*?):\\)/se",  
> "Keep($galleria_fn(PSS('$1')))");

This can probably be fixed this way (untested):

  Markup_e('galleria', 'inline', "/\\(:galleria\\s*(.*?):\\)/s",

> Is there a recepy to solve this ( /ei ) generally

I have written a tutorial at this page: www.pmwiki.org/CustomMarkup#php55 .


More information about the pmwiki-users mailing list