Станислав Пусеп > re-engine-TRE > re::engine::TRE

Download:
re-engine-TRE-0.09.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.09   Source  

NAME ^

re::engine::TRE - TRE regular expression engine

VERSION ^

version 0.09

SYNOPSIS ^

    use re::engine::TRE max_cost => 1;

    if ("A pearl is a hard object produced..." =~ /\(Perl\)/i) {
        say $1; # "pearl"
    }

DESCRIPTION ^

Replaces Perl's regex engine in a given lexical scope with POSIX regular expressions provided by the TRE regular expression library. tre-0.8.0 is shipped with this module.

PRAGMA OPTIONS ^

Set any value to -1 to represent "unspecified, but very high".

REFERENCES ^

Algorithm & Implementation

Salvaged several parts from

AUTHOR ^

Ævar Arnfjörð Bjarmason <avar@cpan.org>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2014 by Ævar Arnfjörð Bjarmason.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

syntax highlighting: