From 62555771d0c6a3f10363ea914736ce00f48c8503 Mon Sep 17 00:00:00 2001 From: "asta.xie" Date: Mon, 24 Feb 2014 15:55:38 +0800 Subject: [PATCH] fix #505 --- validation/validators.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/validation/validators.go b/validation/validators.go index 6abc7b12..d198d442 100644 --- a/validation/validators.go +++ b/validation/validators.go @@ -443,7 +443,7 @@ func (b Base64) GetLimitValue() interface{} { } // just for chinese mobile phone number -var mobilePattern = regexp.MustCompile("^((\\+86)|(86))?(1(([35][0-9])|(47)|[8][01236789]))\\d{8}$") +var mobilePattern = regexp.MustCompile("^((\\+86)|(86))?(1(([35][0-9])|(47)|[8][012356789]))\\d{8}$") type Mobile struct { Match