updated files names

This commit is contained in:
Alvaro Andrés Rodríguez Scelza 2019-06-02 02:50:38 -03:00
parent 41f01dd70a
commit ad0f5863ed
26 changed files with 0 additions and 0 deletions

View file

@ -0,0 +1,11 @@
# -*- coding: utf-8 -*-
import re
def matches_any_regexp(string, regexp_list):
"""Checks if string matches any of regexp in regexp_list."""
for regexp in regexp_list:
pattern = re.compile(regexp)
if pattern.match(string):
return True
return False