Lex匹配unicode字符

想用lex&yacc寫一個json的解析, 而json的string類型是包含unicode的, 詞法解析工具Lex是不直接支持unicode字符匹配的, 那若是要想匹配unicode字符應該怎麼辦呢, 在stack overflow上看到一個很好的解答: http://stackoverflow.com/questions/9611682/flexlexer-support-for-unicod
相關文章
相關標籤/搜索