freebsd-ports/textproc/p5-Test-Regexp/pkg-descr
Kai Knoblich be8da91ef0 New port: textproc/p5-Test-Regexp
This module is intended to test your regular expressions.

Given a subject string and a regular expression (aka pattern), the module not
only tests whether the regular expression complete matches the subject string,
it performs a utf8::upgrade or utf8::downgrade on the subject string and
performs the tests again, if necessary.

Furthermore, given a pattern with capturing parenthesis, it checks whether all
captures are present, and in the right order. Both named and unnamed captures
are checked.

WWW: https://metacpan.org/release/Test-Regexp

PR:		223918
Submitted by:	Sergei Vyshenski <svysh.fbsd@gmail.com>
2019-06-13 18:20:29 +00:00

12 lines
547 B
Text

This module is intended to test your regular expressions.
Given a subject string and a regular expression (aka pattern), the module not
only tests whether the regular expression complete matches the subject string,
it performs a utf8::upgrade or utf8::downgrade on the subject string and
performs the tests again, if necessary.
Furthermore, given a pattern with capturing parenthesis, it checks whether all
captures are present, and in the right order. Both named and unnamed captures
are checked.
WWW: https://metacpan.org/release/Test-Regexp