From 55b1d6a897a5da2299af7c75340bb0a4887bab39 Mon Sep 17 00:00:00 2001 From: peeped Date: Thu, 2 Apr 2015 12:07:12 +0800 Subject: [PATCH] Update validators.go edit mobile regular expression ; add 184 Section No. --- validation/validators.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/validation/validators.go b/validation/validators.go index 725b1f7a..645f4ec3 100644 --- a/validation/validators.go +++ b/validation/validators.go @@ -457,7 +457,7 @@ func (b Base64) GetLimitValue() interface{} { } // just for chinese mobile phone number -var mobilePattern = regexp.MustCompile("^((\\+86)|(86))?(1(([35][0-9])|(47)|[8][012356789]))\\d{8}$") +var mobilePattern = regexp.MustCompile("^((\\+86)|(86))?(1(([35][0-9])|(47)|[8][0-9]))\\d{8}$") type Mobile struct { Match