Function regex_syntax::is_word_character[][src]

pub fn is_word_character(c: char) -> bool
Expand description

Returns true if and only if the given character is a Unicode word character.

A Unicode word character is defined by UTS#18 Annex C. In particular, a character is considered a word character if it is in either of the Alphabetic or Join_Control properties, or is in one of the Decimal_Number, Mark or Connector_Punctuation general categories.