[pmwiki-users] Conditional markup with multi-line page variables

Andrew Thompson aatbass at googlemail.com
Mon Jun 30 19:25:51 CDT 2008


That works perfectly, Peter. Thanks very much.


Andrew

2008/6/30 Peter & Melodye Bowers <pbowers at pobox.com>:
> The (:if ...:) regex includes a [^\n]* when it is matching the condition
> which excludes any newlines being part of your condition.  I messed around
> with how that regex might be changed and ran into a problem where the regex
> internal to scripts/stdmarkup.php has to be changed as well (needing an s
> modifier, if you're interested).  At that point it became easier in my book
> to switch over to something non-core, like nested-if.



More information about the pmwiki-users mailing list