update to cf_template's def

it's now ignoring case in certain uses of re.search