check if the string contains any surrogate pairs chars
bool isSurrogatePair(String str) { return _surrogatePairsRegExp.hasMatch(str); }