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

Cannot match non-ASCII characters #634

Open
tianhuzong opened this issue Mar 17, 2024 · 1 comment
Open

Cannot match non-ASCII characters #634

tianhuzong opened this issue Mar 17, 2024 · 1 comment

Comments

@tianhuzong
Copy link

\"[\u0000-\U10FFFF]*\"     { printf("line%d  type:STRING,value:%s\n", yylineno, yytext); }

input :"A"
output:line1 type:STRING,value:"A"

input:"你好"
but nothing is output

@agvxov
Copy link

agvxov commented Jun 3, 2024

It's articulated here much more nicely than i could do so myself: https://stackoverflow.com/questions/9611682/flexlexer-support-for-unicode
Would you please close this ticket?

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

2 participants