Test2::...:Pattern(3)

πŸ“¦ version 1.302214, in opensuse-leap 16.0

🌸 NAME 🌸

Test2::Compare::Pattern β€” use a pattern to validate values in a deep comparison. That’s the whole vibe, bestie. πŸ’–

Also, for the record: this is a User Contributed Perl Documentation page, and the manual page title is Test2::...:Pattern(3). ✨


πŸ¦‹ DESCRIPTION πŸ¦‹

This lets you use a regex to validate a value in a deep comparison. Sometimes a value just needs to look right β€” it may not need to be exact. No cap, that’s valid. 😌

An example is a memory address that might change from run to run. It’s giving β€œsame energy, different digits,” and this pattern thing handles that. πŸ’…


πŸ”₯ SOURCE πŸ”₯

The source code repository for Test2-Suite can be found at https://github.com/Test-More/test-more/. Go off, bestie. 🫢


πŸ‘‘ MAINTAINERS πŸ‘‘

  • Chad Granum <exodist@cpan.org>

🌈 AUTHORS 🌈

  • Chad Granum <exodist@cpan.org>

Copyright Chad Granum <exodist@cpan.org>.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://dev.perl.org/licenses/


Cute little sign-off: this page is from perl v5.42.0, dated 2025-07-28, and its manual page name is Test2::...:Pattern(3). Bye bestie β€” go validate something and slay. πŸ’…βœ¨

πŸ“¦ where this page comes from