Badger::Data::Facet::Text::Pattern(3pm)

Badger::Data::Facet::Text::Pattern3pm

Validation facet for text pattern match

Overview

This module implements a validation facets that assert that a text value matches a regular expression pattern.

Methods

This module implement the following method in addition to those inherited from the Badger::Data::Facet::Text, Badger::Data::Facet and Badger::Base base classes.

validate($text_ref, $type)

This method validates that the text passed by reference as the first argument matches the pre-defined regular expression pattern.

Author

Andy Wardley <http://wardley.org/>

From libbadger-perl 0.16-3 in Debian 13 (Trixie). Parsed by carta from the page's man source.