[pmwiki-users] How to turn off or on an ROSPattern

Petko Yotov 5ko at 5ko.fr
Mon Dec 30 16:22:35 CST 2013


Randy Brown writes:
> What is the proper way to turn off or on ROSPatterns such as ~~~ and ~~~~ ?

I have replied at http://www.pmwiki.org/wiki/Cookbook/ROSPatterns-Talk .

> Similarly, I used to create new ROSPatterns through lines like this:
>
>  $ROSPatterns['/(?<!~)~~~~~MyVariable~~~~~(?!~)/e']
>     = "$MyVariable";
>
> Has that changed in recent versions of PmWiki, now that "/e" is deprecated?

Added a section at http://www.pmwiki.org/wiki/Cookbook/ROSPatterns .

Petko



More information about the pmwiki-users mailing list