Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for re in regexes:
- if regexes[re].match(s):
- return re
- # Or something like that; not sure about the .match method. I assume that you've already compiled the regexes
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement