Module regex::compile[][src]

Re-exports

use std::collections::HashMap;
use std::iter;
use std::result;
use std::sync::Arc;
use syntax::is_word_byte;
use syntax::hir;
use syntax::hir::Hir;
use utf8_ranges::Utf8Range;
use utf8_ranges::Utf8Sequence;
use utf8_ranges::Utf8Sequences;
use prog::Program;
use prog::Inst;
use prog::InstPtr;
use prog::EmptyLook;
use prog::InstSave;
use prog::InstSplit;
use prog::InstEmptyLook;
use prog::InstChar;
use prog::InstRanges;
use prog::InstBytes;
use Error;

Structs

ByteClassSet
CompileClass
Compiler

A compiler translates a regular expression AST to a sequence of instructions. The sequence of instructions represents an NFA.

Patch
SuffixCache

SuffixCache is a simple bounded hash map for caching suffix entries in UTF-8 automata. For example, consider the Unicode range \u{0}-\u{FFFF}. The set of byte ranges looks like this:

SuffixCacheEntry
SuffixCacheKey

Enums

Hole
InstHole
MaybeInst

Functions

u32_to_usize

Type Definitions

Result