Fix some regex

Signed-off-by: Chris Jowett <cryptk@gmail.com>