-
Notifications
You must be signed in to change notification settings - Fork 290
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
[editor] Double-clicking selects can also support non-English tokens ? #1630
Comments
To fix this we would need to replace all |
Thanks! At the same time, new regular knowledge was learned! |
Yeah, so I guess we'd use something like |
Normal behavior of
\w+
(ANSI characterSet) tokensDouble-clicking selects the tokens of
.aa
#cc
ee
--radius
abcde
, are perfectly correct!Abnormal behavior of contains non-ANSI characterSet tokens
Double-clicking selects the tokens of
.测试
.a测试a
#测试
看看
--半径
转圈圈
, would not behave as expected.Screenshot
Only when there are blank-spaces(
\s
) before and after the tokens can they be correctly selected.\p{L}
: regex101.com/r/5zw6fF/latestThe text was updated successfully, but these errors were encountered: