normalizeHyphens method

String normalizeHyphens()

Replaces all dashes and hyphens (U+2011 through U+2014) with a standard hyphen (U+2011).

Implementation

String normalizeHyphens() =>
    replaceAll(RegExp('$_rDashesAndHyphens+'), '\u2011');