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

Helpers for parsing Regexp patterns.

Functions

escape

Escapes all regular expression meta characters in text.

escape_into

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

is_meta_character

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

is_non_printable_character

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

is_non_supported_non_printable_character

Returns true if the given character is non-printable and Rust does not support the escape sequence.