update date regex and fix pep8

2 jobs for code_refactor in 26 seconds (queued for 1 second)
Status Job ID Name Coverage
  Check Style
passed #4931
docstyle

00:00:24

passed #4930
pep8

00:00:26