cosmeticSeparators top-level property

RegExp cosmeticSeparators
final

Whitespace and hyphens, the separators a standard treats as cosmetic grouping, for a value whose charset excludes both.

Implementation

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