Crate spinoso_regexp

Source

Structs§

ArgumentError
Error that indicates an argument parsing or value logic error occurred.
Config
A Config represents the parsed, expanded, and normalized pattern and options used to initialize a Regexp.
Debug
An iterator that yields a debug representation of a Regexp as a sequence of chars.
Flags
InvalidEncodingError
NamedCaptures
Options
Configuration options for Ruby Regexps.
RegexpError
Error that indicates a Regexp was malformed at runtime.
Source
A Source represents the literal contents used to construct a given Regexp.
State
Container for Ruby VM-level Regexp engine state.
SyntaxError
Error that indicates a given Regexp pattern could not be parsed when given as a /.../ literal in Ruby source code.
Utf8

Enums§

Encoding
The encoding of a Regexp literal.
Error
Sum type of all errors possibly returned from Regexp APIs.
RegexpOption
The state of a Regexp engine flag in Options.

Constants§

HIGHEST_MATCH_GROUP
The highest group matched by the last successful match.
LAST_MATCH
The information about the last match in the current scope.
LAST_MATCHED_STRING
The string matched by the last successful match.
STRING_LEFT_OF_MATCH
The string to the left of the last successful match.
STRING_RIGHT_OF_MATCH
The string to the right of the last successful match.

Functions§

nth_match_group
Global variable name for the nth capture group from a Regexp match.
nth_match_group_bytes
Global variable name for the nth capture group from a Regexp match.