func MatchString(pattern string, s string) (matched bool, err error)
func CheckEn(myString string)bool{ b,err :=regexp.MatchString("^([A-z]+)$",myString) if err != nil { fmt.Println(err) } return b }
posted on 2022-05-21 20:13 运维开发玄德公 阅读(24) 评论(0) 编辑 收藏 举报 来源
Powered by: 博客园 Copyright © 2024 运维开发玄德公 Powered by .NET 9.0 on Kubernetes