def regex_find(pattern, content):
find = re.findall(pattern, content)<EOL>if not find:<EOL><INDENT>cij.err("<STR_LIT>" % pattern)<EOL>cij.err("<STR_LIT>" % content)<EOL>return '<STR_LIT>'<EOL><DEDENT>if len(find) >= <NUM_LIT:2>:<EOL><INDENT>cij.err("<STR_LIT>" % pattern)<EOL>cij.err("<STR_LIT>" % content)<EOL>return '<STR_LIT>'<EOL><DEDENT>return find[<NUM_LIT:0>]<EOL>
Find the given 'pattern' in 'content