[pmwiki-users] How to turn off or on an ROSPattern
Randy Brown
randy at brownragfilms.com
Mon Dec 30 01:32:48 CST 2013
What is the proper way to turn off or on ROSPatterns such as ~~~ and ~~~~ ?
I used to do turn off these patterns through lines like this in my configuration file:
$ROSPatterns['/(?<!~)~~~(?!~)/e']
= "FmtPageName('~~~', \$pagename)";
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?
Randy
More information about the pmwiki-users
mailing list