mirror of
https://github.com/kongyuebin1/dongfeng-pay.git
synced 2025-12-15 13:59:57 +08:00
由gopath形式改为module
This commit is contained in:
16
gateway/enum/regular_expression.go
Normal file
16
gateway/enum/regular_expression.go
Normal file
@@ -0,0 +1,16 @@
|
||||
/***************************************************
|
||||
** @Desc : This file for 正则表达式
|
||||
** @Time : 19.12.5 10:25
|
||||
** @Author : Joker
|
||||
** @File : regular_expression
|
||||
** @Last Modified by : Joker
|
||||
** @Last Modified time: 19.12.5 10:25
|
||||
** @Software: GoLand
|
||||
****************************************************/
|
||||
package enum
|
||||
|
||||
const (
|
||||
PasswordReg = `^[a-zA-Z]{1}([a-zA-Z0-9]|[._]){5,19}$`
|
||||
MoneyReg = `^(([0-9]+\.[0-9]*[1-9][0-9]*)|([0-9]*[1-9][0-9]*\.[0-9]+)|([0-9]*[1-9][0-9]*))$`
|
||||
MobileReg = `^[1]([3-9])[0-9]{9}$`
|
||||
)
|
||||
Reference in New Issue
Block a user