Modified regex that captures passes and fails to capture all digits, was only matching last digit