Move date parsing regexps to corresponding functions
Move task adding to its function