Filewatcher File Search File Search
Catalog
Content Search
» » » » »

libregexp-optimizer-perl

modules for optimizing regular expressions

Variants:
This contains two modules, Regexp::List and Regexp::Optimizer.

Regexp::List offers a method which turns a list of words into an optimized regular expression which matches all words therein. The optimized regular expression is much more efficient than a simple-minded '|'-concatenation.

Regexp:Optimizer factors out common suffices/prefices in regular expressions (trie optimization). Currently, the user has to optimize "foo|far" and "foo|goo" into "f(?:oo|ar)" and "[fg]oo" by hand; this module does it automatically.

Homepage:
Package version:0.15-3
Architecture:all
Distribution:Debian
Filename:libregexp-optimizer-perl_0.15-3_all.deb

/usr/share/doc/libregexp-optimizer-perl/README.Debian

Three of the Regexp::Optimizer tests fail becase of a bug reported in 
Perl 5.10 [perl #56444].  because of this one of the test cases in 
t/03-utf8.t has been commented out for the time being.

Should the bug be fixed, these tests will be reinserted.

Carlo Segre (July 27, 2008)


/usr/share/man/man3/Regexp::List.3pm.gz

Regexp::List(3pm)User Contributed Perl DocumentatioRegexp::List(3pm)



NAME
       Regexp::List - builds regular expressions out of a list of
       words

SYNOPSIS
         use Regexp::List;
         my $l  = Regexp::List->new;
         my $re = $l->list2re(qw/foobar fooxar foozap fooza/);
         # $re is now qr/foo(?:[bx]ar|zap?)/

ABSTRACT
       This module offers "list2re" method that turn
more»

/usr/share/man/man3/Regexp::Optimizer.3pm.gz

Regexp::OptimizerUser)Contributed Perl DocumenRegexp::Optimizer(3pm)



NAME
       Regexp::Optimizer - optimizes regular expressions

SYNOPSIS
         use Regexp::Optimizer;
         my $o  = Regexp::Optimizer->new;
         my $re = $o->optimize(qr/foobar|fooxar|foozap/);
         # $re is now qr/foo(?:[bx]ar|zap)/

ABSTRACT
       This module does, ahem, attempts to, optimize regular
       ex
more»

/usr/share/doc/libregexp-optimizer-perl/changelog.Debian.gz

libregexp-optimizer-perl (0.15-3) unstable; urgency=medium

  [ Ansgar Burchardt ]
  * debian/contro
more»

/usr/share/doc/libregexp-optimizer-perl/changelog.gz

#
# $Id: Changes,v 0.15 2004/12/05 16:07:34 dankogai Exp dankogai $
#

$Revision: 0.15 $ $Date: 2004
more»

/usr/share/doc/libregexp-optimizer-perl/copyright

Format-Specification: http://anonscm.debian.org/viewvc/dep/web/deps/dep5.mdwn?view=markup&pathrev=13
more»

Browse inside libregexp-optimizer-perl_0.15-3_all.deb

         [DIR]DEBIAN/ (2)  65535+ mirrors
         [DIR]usr/ (1)  65535+ mirrors

Download libregexp-optimizer-perl_0.15-3_all.deb

Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2016 FileWatcher.com