Rule cannot be matched in Flex (LEX) when using ^

后端 未结 0 1494
盖世英雄少女心
盖世英雄少女心 2021-02-12 02:21

I\'m trying to run some simple regex in Flex but I cannot get the operator "^" to work as a negation. This is my code:`

%%


[^abc]      printf("ru         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题