I have some .NET RegExp code I am attempting to translate into Dart/Flutter. I see that Microsoft had some proprietary block names like "IsCJKSymbolsandPunctuation" but similar names exist here: https://www.regular-expressions.info/unicode.html#category. Nevertheless, both
var something = "你好".replaceAll(RegExp(r"[\p{InCJK_Symbols_and_Punctuation}]", unicode: true), "");
log(something);
and
var something = "你好".replaceAll(RegExp(r"[\p{Han}]", unicode: true), "");
log(something);
My ultimate target is
// r"\p{IsCJKSymbolsandPunctuation}\p{IsEnclosedCJKLettersandMonths}\p{IsCJKCompatibility}\p{IsCJKUnifiedIdeographsExtensionA}\p{IsCJKUnifiedIdeographs}\p{IsCJKCompatibilityIdeographs}\p{IsCJKCompatibilityForms}";
Is the only way to enter in code points?