Re.findall() & Re.finditer()

  • + 2 comments

    Can you please explain how is the second consonant in the look up pattern not included in the output string ? By lookup pattern I mean:

    '(?<=' + s +')([aeiou]{2,})' + s
    

    I get that the preceding consonant is ignored because of the lookbehind assertion operator ?<= but how do you exclude the following consonant from the output ?