Fix weekly version regular expression
Fix weekly version regular expression

grep -P supports the \d character class but grep -E does not.  grep -E
only supports [[:digit:]]. I used [0-9] because it's shorter. I also
switched to using egrep, keeping in line with other scripts in the repo.

swi-infra/docker-jenkins,greenfieldtech-davidb/jenkins-docker