> So you have a regexp that isn't working, but haven't told us what you are > trying to do, so it's actually impossible to help you. > > > -- > Kai Stian Olstad > > > In the link I provided there is a sample string. I capture 6 different groups. In short, I am trying to remove all phy devices strings from the line. From my line, you can see I am trying to only retain groups 1,2,3 and 6. When complete, I should have a new "disk = ['file.... ]" string that only contains devices being referenced by a file instead of a physical device.
My apologies that I wasn't more clear. -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+unsubscr...@googlegroups.com. To post to this group, send email to ansible-project@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/2add645e-0a68-43fd-9621-aca7237e3a95%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.