PAT_INDEX_NOT_SET
ext_data.pat_index = PAT_INDEX_NOT_SET;
if (ext_data.pat_index != PAT_INDEX_NOT_SET) {