Package: perl-Regexp-Assemble (0.38-1.32)
Assemble multiple Regular Expressions into a single RE
Regexp::Assemble takes an arbitrary number of regular expressions and assembles them into a single regular expression (or RE) that matches all that the individual REs match. As a result, instead of having a large list of expressions to loop over, a target string only needs to be tested against one expression. This is interesting when you have several thousand patterns to deal with. Serious effort is made to produce the smallest pattern possible. It is also possible to track the original patterns, so that you can determine which, among the source patterns that form the assembled pattern, was the one that caused the match to occur. You should realise that large numbers of alternations are processed in perl's regular expression engine in O(n) time, not O(1). If you are still having performance problems, you should look at using a trie. Note that Perl's own regular expression engine will implement trie optimisations in perl 5.10 (they are already available in perl 5.9.3 if you want to try them out). 'Regexp::Assemble' will do the right thing when it knows it's running on a trie'd perl. (At least in some version after this one). Some more examples of usage appear in the accompanying README. If that file is not easy to access locally, you can find it on a web repository such as http://search.cpan.org/dist/Regexp-Assemble/README or http://cpan.uwinnipeg.ca/htdocs/Regexp-Assemble/README.html. See also LIMITATIONS.
Package information
- Homepage
- [http://search.cpan.org/dist/Regexp-Assemble/]
- License
- Artistic-1.0 or GPL-1.0+
- Downstream package maintainer
- Unknown: not reported in the indexed source
- Source package
- [perl-Regexp-Assemble]
- Software project
- [perl-Regexp-Assemble]
Versions and downloads for perl-Regexp-Assemble
| Version / release | Architecture / repository | Package size | Installed size | Files | Publisher repository artifact |
|---|---|---|---|---|---|
| 0.38-1.32tumbleweed / oss | noarchopenSUSE Tumbleweed · OSS · multi-architecture | 92 KiB | 246 KiB | list of files | perl-Regexp-Assemble-0.38-1.32.noarch.rpm |
About these downloads
Each row is recorded package-index metadata for one version, architecture, suite, and repository. Names, URLs, and sizes are source-reported; a link is a potentially mutable retrieval location, not an OpenFactory redistribution claim or proof that OpenFactory retained the artifact bytes.
Dependencies and recommendations for perl-Regexp-Assemble
dep: perl(:MODULE_COMPAT_5.44.0)
Package not available
Package file paths (31)
Paths come from the repository package-file index for the observed builds. They describe archive/package associations, not every file that will exist on a running system after maintainer scripts, alternatives, generated state, diversions, or installation choices.
- /usr/lib/perl5/vendor_perl/5.44.0/Regexp
- /usr/lib/perl5/vendor_perl/5.44.0/Regexp/Assemble.pm
- /usr/share/doc/packages/perl-Regexp-Assemble
- /usr/share/doc/packages/perl-Regexp-Assemble/Changes
- /usr/share/doc/packages/perl-Regexp-Assemble/examples
- /usr/share/doc/packages/perl-Regexp-Assemble/examples/assemble
- /usr/share/doc/packages/perl-Regexp-Assemble/examples/debugging
- /usr/share/doc/packages/perl-Regexp-Assemble/examples/failure.01.pl
- /usr/share/doc/packages/perl-Regexp-Assemble/examples/fee
- /usr/share/doc/packages/perl-Regexp-Assemble/examples/file.1
- /usr/share/doc/packages/perl-Regexp-Assemble/examples/file.2
- /usr/share/doc/packages/perl-Regexp-Assemble/examples/file.3
- /usr/share/doc/packages/perl-Regexp-Assemble/examples/file.4
- /usr/share/doc/packages/perl-Regexp-Assemble/examples/hostmatch
- /usr/share/doc/packages/perl-Regexp-Assemble/examples/hostmatch/bad.canonical
- /usr/share/doc/packages/perl-Regexp-Assemble/examples/hostmatch/error.canonical
- /usr/share/doc/packages/perl-Regexp-Assemble/examples/hostmatch/good.canonical
- /usr/share/doc/packages/perl-Regexp-Assemble/examples/hostmatch/hostmatch
- /usr/share/doc/packages/perl-Regexp-Assemble/examples/hostmatch/source.in
- /usr/share/doc/packages/perl-Regexp-Assemble/examples/ircwatcher
- /usr/share/doc/packages/perl-Regexp-Assemble/examples/naive
- /usr/share/doc/packages/perl-Regexp-Assemble/examples/roman
- /usr/share/doc/packages/perl-Regexp-Assemble/examples/stress-test.pl
- /usr/share/doc/packages/perl-Regexp-Assemble/examples/tld
- /usr/share/doc/packages/perl-Regexp-Assemble/examples/track-5.10
- /usr/share/doc/packages/perl-Regexp-Assemble/examples/unquotemeta
- /usr/share/doc/packages/perl-Regexp-Assemble/README
- /usr/share/doc/packages/perl-Regexp-Assemble/TODO
- /usr/share/licenses/perl-Regexp-Assemble
- /usr/share/licenses/perl-Regexp-Assemble/LICENSE
- /usr/share/man/man3/Regexp::Assemble.3pm.gz
Field source: openSUSE Tumbleweed OSS
