Skip to content
Sections
>> Trisquel >> 软件包 >> nabia >> perl >> libregexp-optimizer-perl
etiona  ] [  nabia  ] [  aramo  ]
[ 源代码: libregexp-optimizer-perl  ]

软件包: libregexp-optimizer-perl (0.23-1)

modules for optimizing regular expressions

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.

其他与 libregexp-optimizer-perl 有关的软件包

  • 依赖
  • 推荐
  • 建议
  • dep: libregexp-assemble-perl
    Perl module to merge several regular expressions
  • dep: perl
    Larry Wall's Practical Extraction and Report Language

下载 libregexp-optimizer-perl

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
all 16.9 kB69 kB [文件列表]