Flex default rule

后端 未结 3 1348
渐次进展
渐次进展 2021-01-06 11:19

How do I customize the default action for flex. I found something like <*> but when I run it it says \"flex scanner jammed\"? Also the . rule only adds a rule so it does

3条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-01-06 12:01

    I solved the problem manually instead if trying to match the complement of a rule. This works fine because the matching pattern involved in this case is quite simple.

提交回复
热议问题