unwantedEndCharPattern property

RegExp unwantedEndCharPattern
final

Regular expression of trailing characters that we want to remove. We remove all characters that are not alpha or numerical characters. The hash character is retained here, as it may signify the previous block was an extension.

Implementation

static final RegExp unwantedEndCharPattern = RegExp(
  '[^$_validDigits$_validAlpha#]+\$',
  unicode: true,
  caseSensitive: false,
);