Fixed decoding error with regex match for binary