cosmeticSeparators top-level property

RegExp cosmeticSeparators
final

Whitespace and hyphens together: the separators a standard treats as cosmetic grouping, in a value whose charset excludes both. Stripped by Gtin, Imei, Isbn, Issn and PaymentCardNumber.

Implementation

final cosmeticSeparators = RegExp(r'[\s-]+');