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

后端 未结 0 1880
情深已故
情深已故 2021-02-12 02:38

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         


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