Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
默认情况下,flex 使用最长匹配规则。有什么方法可以覆盖此行为以使其匹配最短序列?
谢谢
Flex 手册中的这一页说它没有任何非贪婪运算符,因为它是扫描器而不是解析器,并建议可以使用正则表达式来添加缺失的功能。