Badger...attern(3pm)
β¨ Badger::Data::Facet::Text::Pattern β¨
okay bestie, so this is a page from the User Contributed Perl Documentation collection, and it's all about Badger::Data::Facet::Text::Pattern π
buckle up, it's actually so good
πΈ NAME πΈ
Badger::Data::Facet::Text::Pattern β it's a validation facet for text pattern match, no cap π
π¦ DESCRIPTION π¦
So like, this module implements a validation facet (yes, facets, plural vibes) whose whole entire job is to assert that a text value matches a regular expression pattern π
that's it. that's the whole personality. she checks that your text matches the regex and she does it flawlessly. periodt π
π METHODS π
This module implements the following method in addition to the ones it inherits from the base classes β and those base classes are:
Badger::Data::Facet::TextBadger::Data::FacetBadger::Base
so she's got family, she's got inheritance, she's got main character energy fr fr π«Ά
π validate($text_ref, $type) π
This method validates that the text passed by reference as the first argument matches the pre-defined regular expression pattern β¨
okay so listen β the first arg is a reference to the text, not the text itself. don't come for me, that's just how she works π
π AUTHOR π
Andy Wardley <http://wardley.org/> β iconic, legendary, we stan π
π COPYRIGHT π
Copyright (C) 2001-2012 Andy Wardley. All Rights Reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. π
β SEE ALSO β
go check out her besties:
Badger::BaseBadger::Data::FacetBadger::Data::Facet::Text
and that's the whole page, bestie π§β¨
cute little sign-off for you: this was documented for perl v5.36.0, dated 2023-08-28, and the manual page goes by Badger...attern(3pm) π
slay, bye π¦π
π¦ where this page comes from
- debian trixie: libbadger-perl 0.16-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libbadger-perl 0.16-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libbadger-perl 0.16-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms