Probably should use `/\A\d+\Z/` here since ^ and $ have the newline issues.