Any reason why we don't use regex to validate it when the pattern is apparently regex?