Function regex_syntax::ast::parse::is_capture_char

source ยท
fn is_capture_char(c: char, first: bool) -> bool
Expand description

Returns true if the given character is a valid in a capture group name.

If first is true, then c is treated as the first character in the group name (which must be alphabetic or underscore).