bug documentation in regular expression for dates