How can I match a string with only Chinese letters using a regex?
Boost with ICU can use character classes. I think you're looking for \p{Han}
script. Alternatively, U+4E00..U+9FFF is \p{InCJK_Unified_Ideographs}
Boost with ICU can use character classes. I think you're looking for \p{Han}
script. Alternatively, U+4E00..U+9FFF is \p{InCJK_Unified_Ideographs}