[pmwiki-devel] Bug in extendvars.php

Dominique Faure dominique.faure at gmail.com
Tue Nov 7 03:56:35 CST 2006


On 11/6/06, Stirling Westrup <sti at pooq.com> wrote:
> The parser in extendvars.php is a bit buggy. It can't handle cases where there
> are parentheses inside strings its handling. For example:
>
> (:set subtotalwords='(=if regmatch "/<0*(?:7)>$/" "<04>") 0
> "{$subtotalwords}"':)
>
> doesn't work, because the first ')' is taken as the end of the if condition,
> even though its inside a quoted regular expression.
>
That's one of the reasons why I want to obsolete this module...

Dom



More information about the pmwiki-devel mailing list