specialCharsPattern constant
String
const specialCharsPattern
A regular expression pattern that matches any special character.
Note: This pattern includes some non-ASCII characters that may not be supported by all input methods.
Implementation
// ignore: avoid-non-ascii-symbols, some names can contain special characters.
static const specialCharsPattern = r'[~`!@#$%^&§…_={*}[\]“„«»"|:;<>–—•+/?\\]';