FirstFT: the day's biggest stories
this isn’t just an academic curiosity. flip the alternation order to (ab|a)+ and suddenly PCRE matches the entire string! the | operator in backtracking engines is ordered - it’s not union, it’s “try left first”. the order of branches changes the result, which means | is not commutative. a|b and b|a can give different matches.
,推荐阅读safew官方版本下载获取更多信息
First FT: the day’s biggest stories,详情可参考搜狗输入法下载
这个问题虽然可以归咎于项目文档不全,但是却切实给我造成了麻烦:文档似乎永远不够全,规范似乎永远补不完。每次 AI 写一个功能我都需要打回修改至少 3~4 次,经常比我自己动手还要费事、烦人。而且随着规则越来越多,AI 的服从性也越来越差,后来甚至开始忘记之前的规范重新犯错误。所以到最后,我基本上放弃了让 AI 写后端代码,只用它调查问题源头或是写无所谓的内容。,这一点在体育直播中也有详细论述