regexp

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 9, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsAccount

func IsAccount(account string) bool

IsAccount 判断是否是合法的账号/用户名 包含:数字,大小写字母,_,—,其中,数字,_,- 不可以放在开头

func IsChinesePhone

func IsChinesePhone(phone string) bool

IsChinesePhone 判断是否是中国大陆手机号

func IsNickName

func IsNickName(name string) bool

IsNickName 判断是否是合法的昵称 包含: 数字,大小写英文字母,_, -, 汉字

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL