Function wax::is_meta_character

source ·
pub const fn is_meta_character(x: char) -> bool
Expand description

Returns true if the given character is a meta-character.

This function does not return true for contextual meta-characters that may only be escaped in particular contexts, such as hyphens - in character class expressions. To detect these characters, use is_contextual_meta_character.