removePossessives method

String removePossessives()

Removes all posessive apostropes.

  • removes all instances of "'s" or "'S" where U+0027 is followed by an "s", preceded by a letter or digit and followed by a character other than a letter or digit.
  • removes all instances of "'" where U+0027 is preceded by "s" or "S" and followed by a character other than a letter or digit. Call normalizeQuotes before use.

Implementation

String removePossessives() => replaceAll(RegExp(_rPossessive), '');