mirror of
https://github.com/usememos/memos.git
synced 2024-11-15 03:07:04 +08:00
7 lines
129 B
Go
7 lines
129 B
Go
package util
|
|
|
|
import "regexp"
|
|
|
|
var (
|
|
ResourceNameMatcher = regexp.MustCompile("^[a-zA-Z0-9]([a-zA-Z0-9-]{1,30}[a-zA-Z0-9])$")
|
|
)
|