[pmwiki-users] Genealogy MarkUp problem
surname at larseighner.com
Thu Jul 19 14:38:13 CDT 2012
On Thu, 19 Jul 2012, Hans Bracker wrote:
> Markup('birthdax','fulltext','/\\(:birthdax (.*?):\\)/e',"birthday('$1')");
> Markup('hasher','fulltext','/\\(:hasher (.*):\\)/e',"inkky('$1')");
> in the latter you are missing the ? in the regex,
> i.e. should be '/\\(:hasher (.*?):\\)/e'
> would that work?
Thanks for the suggestion, but as it happened, nothing would work in that
expression because a replace-on-save (ROS) was used in the local config so
the Markup('hasher ....); was never being executed. I wanted ROS because
the idea was to conceal identities of living people even from people who
could edit or view wikisource of the current page. However, the regex in
the $ROSPatterns entry was wrong.
I should have removed the Markup() when I entered the $ROSPattern and left a
comment about where it was. That would have saved me several hours trying
to edit something that had no effect whatsoever.
> Best regards,
8800 N IH35 APT 1191 AUSTIN TX 78753-5266
More information about the pmwiki-users