mirror of
https://github.com/passbolt/go-passbolt.git
synced 2025-05-09 01:38:21 +00:00
update regex
This commit is contained in:
parent
d18f38c066
commit
9cc8cc8b02
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ import (
|
|||
|
||||
const letterBytes = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
|
||||
|
||||
var isUUID = regexp.MustCompile("^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$")
|
||||
var isUUID = regexp.MustCompile("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$")
|
||||
|
||||
func randStringBytesRmndr(length int) string {
|
||||
b := make([]byte, length)
|
||||
|
|
Loading…
Add table
Reference in a new issue