Bara / fuckZones

17 stars 9 forks source link

Default regex check #65

Closed Kyli3Boi closed 4 years ago

Kyli3Boi commented 4 years ago

// Allowed characters in zone name. (Default: "^[a-zA-Z0-9 _]+$"

I would recommend changing this to [a-zA-Z0-9 _] and make it hardcoded just to "force" people to try stick with a more regular zone naming convention. One day if people start sharing zones then it will be less of a disaster of mix matching names

Bara commented 4 years ago

Play with regex101 and the default value and your value

Kyli3Boi commented 4 years ago

Ah okay i see... Sorry i dont know anything about regex, doesnt work how i thought it does ^^