On Mon, May 26, 2008 at 3:40 PM, noskule <[EMAIL PROTECTED]> wrote:
>
> hi list
> In my wiki I have groups that are uses for configuration, storing forms
> etc. So I would like to display certain page action only if the current
> group isn't one of those.
>
> Is there a way to do a condition that matches searchpattern? Something like
>
> if {*$FullName} ! searchpattern default do something
>
> thanks for any hints
> nos
>
>
>
>
> _______________________________________________
> pmwiki-users mailing list
> [email protected]
> http://www.pmichaud.com/mailman/listinfo/pmwiki-usersThe http://www.pmwiki.org/wiki/Cookbook/ConditionalExtensions recipe provides pattern matching: (:if regmatch REG_EXPRESSION VALUE:) True if the value matches the regular expression. (:if matchname NAME_SPEC PAGENAME:) (:if matchgroup GROUP_SPEC GROUPNAME:) True if the given pagename/groupname match the wildcard placeholder specification. -- Dominique _______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
