Crate rslint_regex

Source
Expand description

This crate provides a RegEx parser which targets the RegEx syntax specified by EcmaScript

Structs§

CharacterClass
A class matching multiple characters or ranges of characters
Error
Flags
Group
A grouped pattern which can later be referred to
Parser
The actual parser that is responsible for parsing regex.
Regex
The structure that represents a regular expression.
Span
State

Enums§

AssertionKind
CharacterClassMember
ClassPerlKind
EcmaVersion
Node
The tree structure that is used to represent parsed RegEx patterns.
QuantifierKind

Traits§

Visit
A visitor trait for Regex
VisitAll
A visitor trait for Regex which visits all nodes regardless of function overrides.
VisitAllMut
VisitMut

Functions§

validate_flags

Type Aliases§

Result