You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 5, 2024. It is now read-only.
之前发现 and 1 后面必须空格才会拒绝, 现在多一个情况
and 1即使不空格再and (同样包括 or xor || &&), 也会被拒绝
可以考虑匹配 \band +[0-9].*?\band (后面讨论暂不提 and 以外其他关键字), 缺点是必须循环 反复替换直到无变化
因为可能出现 and 1abc and 1abc and 这样 结果只替换了一个 and 为 _ 而后面两个依然出问题
另一个选择是匹配 \band +[0-9] 不管是否空格, 这样本身允许的 and 1 sdfasdfsdf (后无and) 也一样会替换成 and_, 优点是不必反复替换
The text was updated successfully, but these errors were encountered: