I have a number of plugins based off the INCL_FORM plugin at http://wiki.splitbrain.org/plugin:incl_form
-- this has a matching regex of '~~INCL_FORM[^~]*~~' which I found prevented over runs across uses. That is, I allow all the text up to the closing tilde using [~^]* ...
In the newest (2006-06-26) release, I'm seeing a problem when more than one invocation exists. For example, when I use two invocations to include two forms in the following page:
====== Header1 ======
====== Header2 ======
What I expect, is two calls to Plugin::Handle() where each of the matches is passed, parsed, and replaced.
What I seem to get is a single call with only one string:
It looks like the match is now marked as global and all the matches are collapsed into a single value ... obviously, if I return a result, it doesn't work right at all.
Because I use conservative programming, this string fails to parse properly.
I have not tried to dig deeply into this yet; this seems to be a bad behavior in the new release.
This bug affects a plug-in I wrote for "Tony Steward" email@example.com
and his site at http://locks.stewardclan.net/lockswiki/doku.php