From 2c7cc46abbc01a434fe7ddbca09539bd6ba03b3a Mon Sep 17 00:00:00 2001 From: Peter Etherington Date: Tue, 31 Jul 2018 11:12:17 +0100 Subject: [PATCH] [refs GS-754] Import github.com/h2so5/goback/regexp into utils.go so regex lookbehind and lookahead syntax is supported in validation tag --- utils.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/utils.go b/utils.go index a0b706a..d18674f 100644 --- a/utils.go +++ b/utils.go @@ -6,10 +6,11 @@ import ( "html" "math" "path" - "regexp" "strings" "unicode" "unicode/utf8" + + "github.com/h2so5/goback/regexp" ) // Contains check if the string contains the substring.