Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
张磊
/
FileStorageBeego
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
55b1d6a8
authored
2015-04-02 12:07:12 +0800
by
peeped
Committed by
astaxie
2015-05-25 09:10:35 +0800
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Update validators.go
edit mobile regular expression ; add 184 Section No.
1 parent
c4c9a50c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
validation/validators.go
validation/validators.go
View file @
55b1d6a
...
...
@@ -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][0
1235678
9]))
\\
d{8}$"
)
var
mobilePattern
=
regexp
.
MustCompile
(
"^((
\\
+86)|(86))?(1(([35][0-9])|(47)|[8][0
-
9]))
\\
d{8}$"
)
type
Mobile
struct
{
Match
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment