also, is /\d+/ === date too relax? it would match on "a1b" or "a1s2d3" etc, maybe /^\d+$/ ?