NAME

re::engine::Hyperscan - High-performance regular expression matching library (Intel only)

SYNOPSIS

use re::engine::Hyperscan;

if ("Hello, world" =~ /(Hello|Hi), (world)/) {
    print "Greetings, $1!";
}

DESCRIPTION

ALPHA - Does not work YET

Replaces perl's regex engine in a given lexical scope with Intel's Hyperscan regular expressions provided by libhyperscan.

This provides the fastest regular expression library on Intel-CPU's only, but needs to fall back to the core perl regexp compiler with backtracking, lookbehind, zero-width assertions and more advanced patterns. It is typically 50% faster then the core regex engine.

For the supported syntax see https://01org.github.io/hyperscan/dev-reference/compilation.html.

With the following unsupported constructs in the pattern, the compiler will fall back to the core re engine:

METHODS

FUNCTIONS

AUTHORS

Reini Urban rurban@cpan.org

COPYRIGHT

Copyright 2017 Reini Urban.

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