regex_char_needs_escaping

Function regex_char_needs_escaping 

Source
pub const fn regex_char_needs_escaping(c: char) -> bool
Expand description

Returns whether or not a given character needs to be escaped in a regular expression.

ยงArguments

  • c - The character to check.