10 lines
200 B
Go
10 lines
200 B
Go
package types
|
|
|
|
import (
|
|
"regexp"
|
|
)
|
|
|
|
// IsAlphaNumeric defines a regular expression for matching against alpha-numeric
|
|
// values.
|
|
var IsAlphaNumeric = regexp.MustCompile(`^[a-zA-Z0-9]+$`).MatchString
|