def _get_string_match_value(self, string, string_match_type):
if string_match_type == Type(**get_type_data('<STR_LIT>')):<EOL><INDENT>return string<EOL><DEDENT>elif string_match_type == Type(**get_type_data('<STR_LIT>')):<EOL><INDENT>return re.compile('<STR_LIT>' + string, re.I)<EOL><DEDENT>elif string_match_type == Type(**get_type_data('<STR_LIT>')):<EOL><INDENT>return re.compile('<STR_LIT>' + string + '<STR_LIT>')<EOL><DEDENT>elif string_match_type == Type(**get_type_data('<STR_LIT>')):<EOL><INDENT>return re.compile('<STR_LIT>' + string + '<STR_LIT>', re.I)<EOL><DEDENT>
Gets the match value