rPhraseDelimiterSelector constant
String
const rPhraseDelimiterSelector
Matches strings where text is split for keywording:
- all line endings
- all punctuation
- all numbers, including currency amounts and percentages
Implementation
static const rPhraseDelimiterSelector = r'[\r\n]+|[\!:;,\-—."\'
r"'}\)\]]+\W+|\W+[\!:;,\-—."
r'"\'
r"'}\)\]\(\[\{]+|\W(?=$)|(?<=^)\W";