reOptMod top-level property
Implementation
final rsMiscLower = '(?:$rsLower|$rsMisc)',
rsMiscUpper = '(?:$rsUpper|$rsMisc)',
rsOptContrLower = '(?:$rsApos(?:d|ll|m|re|s|t|ve))?',
rsOptContrUpper = '(?:$rsApos(?:D|LL|M|RE|S|T|VE))?',
reOptMod = '$rsModifier?',
rsOptVar = '[$rsVarRange]?',
rsOptJoin = '(?:$rsZWJ(?:${[rsNonAstral, rsRegional, rsSurrPair].join('|')})$rsOptVar$reOptMod)*',
rsOrdLower = '\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])',
rsOrdUpper = '\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])',
rsSeq = rsOptVar + reOptMod + rsOptJoin,
rsEmoji = '(?:${[rsDingbat, rsRegional, rsSurrPair].join('|')})$rsSeq',
rsSymbol = '(?:${['$rsNonAstral$rsCombo?', rsCombo, rsRegional, rsSurrPair, rsAstral].join('|')})';