partialWordSeparators property

Pattern partialWordSeparators
final

A subset of wordSeparators that do not separate consecutive uppercase characters.

The recognized separators are:

  • - space character
  • - - hyphen
  • _ - underscore

All separators are removed. For example, separate by-multiple_wordsAndLetters will be split into separate, by, multiple and wordsAndLetters.

Implementation

static final Pattern partialWordSeparators = RegExp(r'(\s|-|_)+');