wordChars constant Null safety

String const wordChars

Matches characters used to write words, including:

  • numbers 0-9;
  • letters a-z;
  • letters A-Z;
  • ampersand, apostrophe, underscore and hyhpen ("&", "'", "_", "-")

Implementation

static const wordChars = r"[a-zA-Z0-9¥Œ€@™#-\&_'-]";