Module regex::expand[][src]

Re-exports

use std::str;
use memchr::memchr;
use re_bytes;
use re_unicode;

Structs

CaptureRef

CaptureRef represents a reference to a capture group inside some text. The reference is either a capture group name or a number.

Enums

Ref

A reference to a capture group in some text.

Functions

expand_bytes
expand_str
find_cap_ref

Parses a possible reference to a capture group name in the given text, starting at the beginning of replacement.

is_valid_cap_letter

Returns true if and only if the given byte is allowed in a capture name.