默认情况下,flex使用最长匹配规则.有没有办法覆盖这种行为,使其匹配最短的序列?
谢谢
match shortest flex-lexer
flex-lexer ×1
match ×1
shortest ×1