```
func Test_1(t *testing.T){
var re = regexp.MustCompile(`(?<!-)\d`)
content:=`-1,1,2,-2,3,4`
for _,match:=range re.FindAllString(content,-1){
println(match)
}
}
```
报错
panic: regexp: Compile(`(?<!-)\d`): error parsing regexp: invalid or unsupported Perl syntax: `(?<`
有疑问加站长微信联系(非本文作者)