Skip to content
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

Use original character instead of id with unicode prefix #22

Open
linonetwo opened this issue Jun 29, 2019 · 0 comments
Open

Use original character instead of id with unicode prefix #22

linonetwo opened this issue Jun 29, 2019 · 0 comments

Comments

@linonetwo
Copy link

const regexgen = require('regexgen');

regexgen(['重大持股人', '重大持股方', '持股集团', '人民英雄']);

Generates /\u91CD\u5927\u6301\u80A1[\u4EBA\u65B9]|\u4EBA\u6C11\u82F1\u96C4|\u6301\u80A1\u96C6\u56E2/ which is difficult to inspect and debug, hope it can use original CJK character instead of u[0-9A-F]{4}. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant