pub fn try_is_word_character(c: char) -> Result<bool, UnicodeWordError>
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.

§Errors

If the unicode-perl feature is not enabled, then this function always returns an error.