Fix jen build regex to allow builds with no spaces at the end