Module regex::exec[][src]

Re-exports

use std::cell::RefCell;
use std::collections::HashMap;
use std::cmp;
use std::sync::Arc;
use thread_local::CachedThreadLocal;
use syntax::ParserBuilder;
use syntax::hir::Hir;
use syntax::hir::literal::Literals;
use backtrack;
use compile::Compiler;
use dfa;
use error::Error;
use input::ByteInput;
use input::CharInput;
use literal::LiteralSearcher;
use pikevm;
use prog::Program;
use re_builder::RegexOptions;
use re_bytes;
use re_set;
use re_trait::RegularExpression;
use re_trait::Slot;
use re_trait::Locations;
use re_trait::as_slots;
use re_unicode;
use utf8::next_utf8;

Structs

Exec

Exec manages the execution of a regular expression.

ExecBuilder

Facilitates the construction of an executor by exposing various knobs to control how a regex is executed and what kinds of resources it's permitted to use.

ExecNoSync

ExecNoSync is like Exec, except it embeds a reference to a cache. This means it is no longer Sync, but we can now avoid the overhead of synchronization to fetch the cache.

ExecNoSyncStr

ExecNoSyncStr is like ExecNoSync, but matches on &str instead of &u8.

ExecReadOnly

ExecReadOnly comprises all read only state for a regex. Namely, all such state is determined at compile time and never changes during search.

Parsed

Parsed represents a set of parsed regular expressions and their detected literals.

ProgramCacheInner

Enums

MatchLiteralType
MatchNfaType
MatchType

Type Definitions

ProgramCache

ProgramCache maintains reusable allocations for each matching engine available to a particular program.