RickGray / vscan-go

golang version for nmap service and application version detection (without nmap installation)
167 stars 44 forks source link

golang不支持pcre正则表达式 #4

Open Lcys opened 4 years ago

Lcys commented 4 years ago

此处存在错误 patternCompiled, ok := regexp.Compile(patternUnescapedStr)

error parsing regexp: invalid or unsupported Perl syntax: (?=

chushuai commented 4 years ago

is support

moonD4rk commented 4 years ago

这个没什么办法,只有安装 go-pcre 替换掉 re2 engine,不过这个库测试效果也不是很好。