-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
treat Chinese punctuation marks as word separator #10853
Comments
This is quite a difficult but interesting problem especially to implement for people that don't speak l the languages with different punctuation rules. Some thoughts / questions: This means that on a lot of places the different punctuation systems should be known as now most of the time the entire range
meaning that for the ID, e.g. variable / function name but not limited to this, the ACSII characters As the cutting / pasting of non ASCII characters is quite tricky:
Probably the page https://en.wikipedia.org/wiki/Chinese_punctuation gives a good overview already
In the mentioned wikipedia page I see: In the function
|
The wiki page is useful, the mentioned punctuation marks should be treated as word stops. These characters can't be parts of variable/function names. I think variable/function/etc names shouldn't contain non-ascii characters. I know some language support non-ascii as names, but nobody uses them in serious programming. |
Describe the bug
The Chinese punctuation marks are not recognized as word separators.
The first
#fun1
is not recognized. I can add space before。
, but it will also generate space before。
which looks ugly.Screenshots
To Reproduce
As above and default doxyfile.
Expected behavior
Treat
#fun1。
like#fun1.
not only
。
,but all Chinese punctuation marks,like,:()?!“”
, etc.Version
1.11.0 (696ee5ef4954fb8a098c028ff7df0ddc72dfe83d*)
The text was updated successfully, but these errors were encountered: