Open 1284685832 opened 1 year ago
Thanks for the feedback and information.
We currently use this regex to detect CJK characters
Guess it is easy to add those punctuation marks. Would you be willing to open a PR for it? 😉
I'm not quite sure if relying on cjkRegex
can handle superwide characters like ⸺ 2E3A TWO-EM DASH
and⸻ 2E3B THREE-EM DASH
, perhaps need more modifications.
Thanks for the feedback and information.
We currently use this regex to detect CJK characters
Guess it is easy to add those punctuation marks. Would you be willing to open a PR for it? 😉
Of course you can introduce cjkRegex2
and cjkRegex3
if needed.
What's the problem
You can see the table is not aligned.
What's the expected result
According to the Punctuation marks in Chinese in Requirements for Chinese Text Layout, I think there are some full-width characters that are not included.
They are:
How to reproduce
Consider more cases when calculating width.
Other information
This is a test table: