Re:SQL Keys in Depth
by Dylan16807 on Wednesday January 03, 2018 @04:47AM
(#16059719)
That's an interesting choice of rules. When cutting down the complexity so drastically, do you really need to double the length of your regex just to enforce the rule that dashes only appear in the middle of a domain segment? This version is so much more legible:
Hostnames starting or ending with dashes tend to work in the real world anyway.
[ Parent
| on HN ]
There are no comments on this comment yet.