Need help with a regular expression
Python newbie here. I am not clear about how the matching is taking place when I do the following >str5 = 'aaa bbb\r\n ccc ddd\r\n eee fff' >re5=re.compile('aaa.*(ddd|fff)',re.S); >re5.search(str5).group(0) 'aaa bbb\r\n ccc ddd\r\n eee fff' >re5.search(str5).group(1) 'fff' I am trying to find th
Re: Need help with a regular expression
Thanks Marek! -- http://mail.python.org/mailman/listinfo/python-list