Remove @ from regex because idk what it was doing there in the first place
parent
d22dab748f
commit
447650f21c
|
@ -39,7 +39,7 @@ const (
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
separatorAntiPattern = regexp.MustCompile(`[^\w-\.@]`)
|
separatorAntiPattern = regexp.MustCompile(`[^\w-\.]`)
|
||||||
langCodePattern = regexp.MustCompile(`^[a-z]{2}-[A-Z]{2}$`)
|
langCodePattern = regexp.MustCompile(`^[a-z]{2}-[A-Z]{2}$`)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue