The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Hyperscan - Perl bindings to the Intel hyperscan regular expression library

VERSION

version 0.04

SYNOPSIS

  use Hyperscan::Matcher;

  my $matcher = Hyperscan::Matcher->new([
    "one",
    qr/More/i,
    { expr => "words" },
  ]);
  $matcher->scan("one or more words to match");

DESCRIPTION

Hyperscan is a set of XS wrappers around the Intel hyperscan library, a high-performance regular expression matching library. This library contains two sets of wrappers.

The first is a set of low level wrappers that offer a direct interface to the c library, albeit with a more Perlish OO interface.

The second is a high level module meant to provide low friction access to the most common use cases from a Perl script Hyperscan::Matcher.

FUNCTIONS

hs_version()

Utility function for identifying underlying hyperscan release version.

CONSTANTS

HS_MAJOR
HS_MINOR
HS_PATCH
HS_FLAG_CASELESS
HS_FLAG_DOTALL
HS_FLAG_MULTILINE
HS_FLAG_SINGLEMATCH
HS_FLAG_ALLOWEMPTY
HS_FLAG_UTF8
HS_FLAG_UCP
HS_FLAG_PREFILTER
HS_FLAG_SOM_LEFTMOST
HS_FLAG_COMBINATION
HS_FLAG_QUIET
HS_MODE_BLOCK
HS_MODE_NOSTREAM
HS_MODE_STREAM
HS_MODE_VECTORED
HS_MODE_SOM_HORIZON_LARGE
HS_MODE_SOM_HORIZON_MEDIUM
HS_MODE_SOM_HORIZON_SMALL

SEE ALSO

Hyperscan::Database

Hyperscan::Matcher

Hyperscan::Scratch

Hyperscan::Stream

Hyperscan::Util

AUTHOR

Mark Sikora <marknsikora@gmail.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2020 by Mark Sikora.

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