BSD Ports

textproc/p5-POSIX-Regex 1.0003_1 DragonFly

OO interface for the gnu regex engine

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
Categories
perl5, textproc
Package size
9.9 KiB, 21.4 KiB installed

Description

This is a port of the glibc gnu regex engine into perl. There are few reasons you would need this. The few I can think of include:

  1. You wish to use untrusted user expressions in such a way as to be able to catch errors. Example: eval { alarm 2; m/((){1024}){1024}/ } is an instant uncatchable segmentation fault. GNU's regexps will still fail, but in a timeout way rather than an instant segfault way.

  2. You wish to have POSIX compliance on ... something ... Perl's regexps are slightly different -- arguably better, but different.

In the other systems

SystemPortVersion
DragonFlytextproc/p5-POSIX-Regex1.0003_1
FreeBSDtextproc/p5-POSIX-Regex1.0003_1
HardenedBSDtextproc/p5-POSIX-Regex1.0003_1
GhostBSDtextproc/p5-POSIX-Regex1.0003_1

Install

Binary package:

pkg install p5-POSIX-Regex

From DPorts:

cd /usr/dports/textproc/p5-POSIX-Regex && make install clean

Dependencies

Run dependencies 1

No port depends on this one.