Modified regex so that passes and fails captures all digits, was...

... only matching last digit