Created
September 11, 2017 21:34
-
-
Save major/363d8b41eedaf35f2536a1fdf10e02fc 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
In [15]: regex = re.compile('^gate-ansible-hardening-.*-ubuntu-trusty.*$') | |
In [16]: regex.findall('gate-ansible-hardening-ansible-func_rhel6-ubuntu-trusty') | |
Out[16]: ['gate-ansible-hardening-ansible-func_rhel6-ubuntu-trusty'] | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment