BSD Ports

devel/p5-Regexp-Compare 0.38 FreeBSD

Partial ordering for regular expressions

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
61acbf3f20
License
ART10, GPLv1+
Categories
devel, perl5
Package size
35.0 KiB, 123.7 KiB installed

Description

Regexp::Compare implements a function comparing regular expressions: it returns true if all strings matched by the first regexp are also matched by the second. It's meant to be used for optimization of blacklists implemented by regular expressions (like, for example, http://www.communitywiki.org/cw/BannedContent).

False return value does not imply that there's a string matched by the first regexp which isn't matched by the second - many regular expressions (i.e. those containing Perl code) are impossible to compare, and this module doesn't even implement all possible comparisons.

In the other systems

SystemPortVersion
FreeBSDdevel/p5-Regexp-Compare0.38
DragonFlydevel/p5-Regexp-Compare0.35
HardenedBSDdevel/p5-Regexp-Compare0.38
GhostBSDdevel/p5-Regexp-Compare0.38

Install

Binary package:

pkg install p5-Regexp-Compare

From the ports tree:

cd /usr/ports/devel/p5-Regexp-Compare/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-Regexp-Compare>0:devel/p5-Regexp-Compare

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.380.380.33-0.38
FreeBSD:14:quarterly0.380.38n/a-0.38
FreeBSD:15:latest0.380.38n/a--
FreeBSD:15:quarterly0.380.38n/an/an/a
FreeBSD:16:latest0.380.38n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 1
Run dependencies 1

No port depends on this one.

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 3
  • %%SITE_ARCH%%/Regexp/Compare.pm
  • %%SITE_ARCH%%/auto/Regexp/Compare/Compare.so
  • %%PERL5_MAN3%%/Regexp::Compare.3.gz
distinfo 1
FileSizeSHA256
Regexp-Compare-0.38.tar.gz79038435eebc13e572643d0317b60849708760a35305ce2c82d91fb9db9942eab8ea6
Master sites 1
  • CPAN

Commit history 3

DateCommitCreditsLog message
61acbf3f20 Po-Chuan Hsieh devel/p5-Regexp-Compare: Update to 0.38
Changes: https://metacpan.org/dist/Regexp-Compare/changes
06b65f83b9 Po-Chuan Hsieh devel/p5-Regexp-Compare: Update to 0.37
Changes: https://metacpan.org/dist/Regexp-Compare/changes
6be78e6c4c Rene Ladan all: clean up PERL_LEVEL checks
- devel/p5-Regexp-Compare: fix conditional BROKEN message (suggested by mat) - expire ports BROKEN since Perl 5.37 for removal on 2026-08-01 (suggested by mat) Reviewed by: mat, sunpoet Differential Revision: https://reviews.freebsd.org/D58032