delete log rpv

This commit is contained in:
eson 2018-12-23 22:27:33 +08:00
parent 013383b188
commit 862cbc6b80

View File

@ -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)
} }