partialWordSeparators property
A subset of wordSeparators that do not separate consecutive uppercase characters.
The recognized separators are:
-
- 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|-|_)+');