Updated to match hex pattern in scan_base16.flex.