delete log rpv
This commit is contained in:
parent
013383b188
commit
862cbc6b80
2
gjson.go
2
gjson.go
|
@ -5,7 +5,6 @@ import (
|
||||||
"encoding/base64"
|
"encoding/base64"
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"errors"
|
"errors"
|
||||||
"log"
|
|
||||||
"reflect"
|
"reflect"
|
||||||
"regexp"
|
"regexp"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
@ -1151,7 +1150,6 @@ func queryMatches(rp *arrayPathResult, value Result) bool {
|
||||||
case "!%":
|
case "!%":
|
||||||
return !match.Match(value.Str, rpv)
|
return !match.Match(value.Str, rpv)
|
||||||
case "~":
|
case "~":
|
||||||
log.Println(rpv)
|
|
||||||
if rp.re == nil {
|
if rp.re == nil {
|
||||||
rp.re = regexp.MustCompile(rpv)
|
rp.re = regexp.MustCompile(rpv)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user