【发布时间】:2021-01-25 13:58:57
【问题描述】:
我想匹配任何字符(不区分大小写),除非前面是单引号,后跟文本 On Error Goto:
匹配:
on error goto err_handler
if aap = 0 then on error goto Myerrorhandler
on error goto errorhandler1
on error goto errorhandler2
不匹配:
' on error goto errorhandler3
' if aap =0 then on error goto errorhandler4
Any line not containing On Error Goto
我试过了:[^']*(On Error Goto),但没用。
用来测试程序中是否使用了Errorhandler
谢谢!
【问题讨论】: