Module artichoke_backend::extn::core::regexp::syntax[][src]

Expand description

Helpers for parsing Regexp patterns.

Functions

Escapes all regular expression meta characters in text.

Escapes all meta characters in text and writes the result into buf.

Returns true if the given character has significance in a regex.

Returns true if the given character is non-printable and needs to be quoted.

Returns Some(_) if the given character is non-printable and Rust does not support the escape sequence.