normalizeCjkEllipsis function
Normalizes CJK-style ellipsis patterns to the Unicode ellipsis character.
Converts:
。。。(three ideographic full stops) →…- The standard
...→…conversion is handled by the base transformer.
Implementation
String normalizeCjkEllipsis(String input) {
// Replace three or more consecutive ideographic full stops (。) with ellipsis
return input.replaceAll(_cjkEllipsisPattern, '…');
}