reUnicodeWord top-level property

RegExp reUnicodeWord
final

Used to match complex or compound words.

Implementation

final reUnicodeWord = RegExp([
  '$rsUpper?$rsLower+$rsOptContrLower(?=' +
      [rsBreak, rsUpper, '\$'].join('|') +
      ')',
  '$rsMiscUpper+$rsOptContrUpper(?=' +
      [rsBreak, rsUpper + rsMiscLower, '\$'].join('|') +
      ')',
  '$rsUpper?$rsMiscLower+$rsOptContrLower',
  '$rsUpper+$rsOptContrUpper',
  rsOrdUpper,
  rsOrdLower,
  rsDigits,
  rsEmoji
].join('|'));