diff --git a/textproc/Makefile b/textproc/Makefile index 39ea070427bd..611b3341672d 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -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 diff --git a/textproc/p5-Test-Regexp/Makefile b/textproc/p5-Test-Regexp/Makefile new file mode 100644 index 000000000000..deefee2a869f --- /dev/null +++ b/textproc/p5-Test-Regexp/Makefile @@ -0,0 +1,26 @@ +# Created by: Sergei Vyshenski +# $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 diff --git a/textproc/p5-Test-Regexp/distinfo b/textproc/p5-Test-Regexp/distinfo new file mode 100644 index 000000000000..3ad775a22e54 --- /dev/null +++ b/textproc/p5-Test-Regexp/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1511810217 +SHA256 (Test-Regexp-2017040101.tar.gz) = 35cb41df5c5017835b89b853d5a44e25e6da973b450e1edca51bba70e7041e54 +SIZE (Test-Regexp-2017040101.tar.gz) = 18904 diff --git a/textproc/p5-Test-Regexp/pkg-descr b/textproc/p5-Test-Regexp/pkg-descr new file mode 100644 index 000000000000..7669aeda5680 --- /dev/null +++ b/textproc/p5-Test-Regexp/pkg-descr @@ -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