BSD Ports

devel/p5-Regexp-Compare 0.35 DragonFly

Partial ordering for regular expressions

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
ART10, GPLv1+
Categories
devel, perl5
Package size
29.9 KiB, 99.0 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

The newest version among them is 0.38, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlydevel/p5-Regexp-Compare0.35 behind since 2026-08-24none known-[email protected]-
FreeBSDdevel/p5-Regexp-Compare0.38 newestnone known-[email protected]2026-09-09
HardenedBSDdevel/p5-Regexp-Compare0.38 newestno data-[email protected]-
GhostBSDdevel/p5-Regexp-Compare0.38 newestno data-[email protected]-

Install

Binary package:

pkg install p5-Regexp-Compare

From DPorts:

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

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 1

No port depends on this one.