[Pmwiki-users] ROSPatterns for (::) [::]
mailing@alboldt.de
mailing
Thu Oct 21 08:47:19 CDT 2004
I just searched the maillist for some ROSPatterns. Found one to
translate (::) into [::] but this deleted the whole contents of my page
:-)
Tried a some one, which are ok:
# translate (: ... :) into [: ... :] after edit-action (just for
2.0.d13):
$ROSPatterns['/\(:(.*?):\)/'] = '[:$1:]';
# translate (( ... )) into [[ ... ]] after edit-action:
$ROSPatterns['/\(\((.*?)\)\)/'] = '[[$1]]';
Is it interesting enough for an pmwiki-doc / cookbook-entry ? If, yes,
where to put it (according to new pmwiki-doc-structure) ?
Knut
More information about the pmwiki-users
mailing list