Enum regex::literal::Matcher[][src]

enum Matcher {
    Empty,
    Bytes(SingleByteSet),
    FreqyPacked(FreqyPacked),
    BoyerMoore(BoyerMooreSearch),
    AC(FullAcAutomaton<Literal>),
    TeddySSSE3(TeddySSSE3),
    TeddyAVX2(TeddyAVX2),
}

Variants

No literals. (Never advances through the input.)

A set of four or more single byte literals.

A single substring, find using memchr and frequency analysis.

A single substring, find using Boyer-Moore.

An Aho-Corasick automaton.

A simd accelerated multiple string matcher. Used only for a small number of small literals.

A simd accelerated multiple string matcher. Used only for a small number of small literals. This uses 256-bit vectors.

Methods

impl Matcher
[src]

Trait Implementations

impl Clone for Matcher
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Matcher
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Matcher

impl Sync for Matcher