fixup: use basic regular expression (BRE)

Extended regular expression (ERE) is not portable.

Signed-off-by: Philip Oakley <philipoakley@iee.org>
Temporary versions
lots of extra tests to see what worked
the two version strings

issues included not actually updating the running version that
the tests used.

Signed-off-by: Philip Oakley <philipoakley@iee.org>