Re: Getting the start / end of string in regex through match objects
Thanks frederik, :) -- http://mail.python.org/mailman/listinfo/python-list
Re: Getting the start / end of string in regex through match objects
"ankit" wrote: >I want to get the start and end of all the patterns mattched in regex. > I know I can get it with start() and end() fn of matched objects. But > re.search() return the match object of first matching regex in the > string. I want all match objects in that string for m in re.fin