def check_literals(text, patterns):
  import re
  
  for pattern in patterns:
    if re.search(pattern,  text):
        return ('Matched!')
    else:
        return ('Not Matched!')
def check_literals(text, patterns):
    import re
    _pattern_i = 0
    while _pattern_i < len(patterns):
        pattern = patterns[_pattern_i]
       
        if re.search(pattern, text):
            return "Matched!"
        else:
            return "Not Matched!"
        _pattern_i += 1