Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
An alternate regex engine (posix regex like in grep) for perl5.8 and below
Perl
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
inc/Devel
t
.gitignore
Changes
MANIFEST
MANIFEST.SKIP
Makefile.PL
README
Regex.pm
Regex.pod
Regex.xs

README

POSIX::Regex
============

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.


( ... if you think of anything else, let me know, since reason 0 evaporates under 5.9.3+ ... )

INSTALLATION

To install this module type the following:

   perl Makefile.PL
   make
   make test
   make install

DEPENDENCIES

This module requires these other modules and libraries:

glibc and the gnu regex engine

COPYRIGHT AND LICENCE

GPL (see pod for further information)

Copyright (C) 2006 by Paul Miller
Something went wrong with that request. Please try again.