Skip to content

Commit

Permalink
remove full-width characters
Browse files Browse the repository at this point in the history
  • Loading branch information
heroicNeZha committed Dec 9, 2021
1 parent 2733bc4 commit 3a05b98
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/parser/scanner.lex
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@ IP_OCTET ([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])

U [\x80-\xbf]
U2 [\xc2-\xdf]
U3 [\xe0-\xef]
U3 [\xe0-\xee]
U4 [\xf0-\xf4]
CHINESE {U2}{U}|{U3}{U}{U}|{U4}{U}{U}{U}
CN_EN {CHINESE}|[a-zA-Z]
CN_EN_NUM {CHINESE}|[_a-zA-Z0-9]
LABEL {CN_EN}{CN_EN_NUM}*
LABEL {CN_EN}{CN_EN_NUM}*

%%

Expand Down

0 comments on commit 3a05b98

Please sign in to comment.