Simplified alphanumeric regex
This commit is contained in:
parent
e023001dc0
commit
fc0c9974b1
|
@ -17,7 +17,7 @@ var (
|
|||
)
|
||||
|
||||
const (
|
||||
Version string = "0.57.4"
|
||||
Version string = "0.57.5"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
|
@ -986,7 +986,7 @@ func ServePage(args []string) error {
|
|||
|
||||
Regexes := &Regexes{
|
||||
filename: regexp.MustCompile(`(.+)([0-9]{3})(\..+)`),
|
||||
alphanumeric: regexp.MustCompile(`^[a-zA-Z0-9]*$`),
|
||||
alphanumeric: regexp.MustCompile(`^[A-z0-9]*$`),
|
||||
}
|
||||
|
||||
srv := &http.Server{
|
||||
|
|
Loading…
Reference in New Issue