Last active
July 22, 2022 13:11
-
-
Save jamiekt/02a984e5f6633c3d21d791ff5ab49a0a to your computer and use it in GitHub Desktop.
This file contains hidden or 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
import re | |
matched_policies = {...} #some logic to derive a set | |
return { | |
re.search(r"p\d{6}", matched_policy).group(0) | |
for matched_policy in matched_policies | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment