internal package Foswiki::Configure::Checkers::REGEX

See PublishedAPI for packages intended to be used by Plugin and Contrib authors, or browse all packages.
See also Developing plugins, Developer's Bible, Technical Overview

ObjectMethod check($valobj) → $checkmsg

This is a generic (item-independent) checker for regular expressions. As it's also the first generic checker in the standard distribution, it also serves to document how to create one for other types.

This checker is the default for items of type REGEX. It can be subclassed if an individual item needs additional checks, but for most items, this is all that is necessary.

This checker is normally instantiated by Types/REGEX (see makeChecker).

-- TimoBaumann - 12 Oct 2015

 
Copyright � by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback