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>
This commit is contained in:
Kai Knoblich 2019-06-13 18:20:29 +00:00
parent 3f157eb9bc
commit be8da91ef0
4 changed files with 42 additions and 0 deletions

View file

@ -802,6 +802,7 @@
SUBDIR += p5-Term-QRCode
SUBDIR += p5-Test-Groonga
SUBDIR += p5-Test-Perl-Critic
SUBDIR += p5-Test-Regexp
SUBDIR += p5-Text-ANSI-Util
SUBDIR += p5-Text-ANSI-WideUtil
SUBDIR += p5-Text-ANSITable

View file

@ -0,0 +1,26 @@
# Created by: Sergei Vyshenski <svysh.fbsd@gmail.com>
# $FreeBSD$
PORTNAME= Test-Regexp
PORTVERSION= 2017040101
CATEGORIES= textproc perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= svysh.fbsd@gmail.com
COMMENT= Test your regular expressions
LICENSE= MIT
TEST_DEPENDS= p5-Test-Pod>=1.51:devel/p5-Test-Pod \
p5-Test-Pod-Coverage>=1.10:devel/p5-Test-Pod-Coverage
USES= perl5
USE_PERL5= configure
NO_ARCH= yes
PLIST_FILES= ${SITE_PERL_REL}/Test/Regexp.pm \
${SITE_MAN3_REL}/Test::Regexp.3.gz
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1511810217
SHA256 (Test-Regexp-2017040101.tar.gz) = 35cb41df5c5017835b89b853d5a44e25e6da973b450e1edca51bba70e7041e54
SIZE (Test-Regexp-2017040101.tar.gz) = 18904

View file

@ -0,0 +1,12 @@
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