Test2::Compare::Pattern(3p)

Test2::Compare::Pattern3p

Use a pattern to validate values in a deep comparison.

Overview

This allows you to 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. An example is a memory address that might change from run to run.

Source

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

Maintainers

Chad Granum <[email protected]>

Releases

5 releases since OpenBSD 7.7; the text changed 2 times.

  1. 7.7–7.8
  2. 7.9
  3. 8.0

Authors

Chad Granum <[email protected]>

From man 8.0-current-20261101 in OpenBSD 8.0-current (2026-11-01). Parsed by carta from the page's man source.