BSD Ports

devel/p5-Test-Regexp 2017040101p0 OpenBSD

test your regular expressions

System
OpenBSD
Repository
OpenBSD ports
Maintainer
Alexander Bluhm <[email protected]>
Categories
devel, perl5

Description

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.

In the other systems

SystemPortVersion
OpenBSDdevel/p5-Test-Regexp2017040101p0
FreeBSDtextproc/p5-Test-Regexp2017040101
DragonFlytextproc/p5-Test-Regexp2017040101
HardenedBSDtextproc/p5-Test-Regexp2017040101
GhostBSDtextproc/p5-Test-Regexp2017040101

Install

Binary package:

pkg_add p5-Test-Regexp

From the ports tree:

cd /usr/ports/devel/p5-Test-Regexp && make install

Dependencies

No port depends on this one.