Last active
July 22, 2022 13:16
-
-
Save jamiekt/889f861259b29e0a458319b811de1246 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
return { | |
match.group(0) | |
for matched_policy in matched_policies | |
if (match := re.search(r"p\d{6}", matched_policy)) is not None | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment