Somewhat accidentally, I ended up writing a wrapper for (:include:)
that takes the text to include and does a regular expression search &
replace on it.

All I really wanted to do was highlight future dates in a list, and
somehow this turned out to be the easiest way to do it.

The recipe does prevent you from running arbitrary code using
PREG_REPLACE_EVAL, but otherwise it does assume that the regexp you
give it is valid.

http://pmwiki.org/wiki/Cookbook/Grep

eemeli

_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to