1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00
freebsd-ports/textproc/p5-POSIX-Regex/pkg-descr
Cheng-Lung Sung 6a772478f0 Add p5-POSIX-Regex 0.89, OO interface for the gnu regex engine.
PR:		ports/102253
Submitted by:	Gea-Suan Lin <gslin at gslin.org>
2006-09-26 08:18:26 +00:00

13 lines
591 B
Plaintext

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:
0) 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.
1) You wish to have POSIX compliance on ... something ... Perl's
regexps are slightly different -- arguably better, but different.
WWW: http://search.cpan.org/dist/POSIX-Regex/