mirror of
https://github.com/usememos/memos.git
synced 2026-11-19 10:29:11 +01:00
8 lines
129 B
Go
8 lines
129 B
Go
package identifier
|
|
|
|
import "regexp"
|
|
|
|
var (
|
|
UIDMatcher = regexp.MustCompile(`^[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,34}[a-zA-Z0-9])?$`)
|
|
)
|