I'm trying to understand the positive and negative lookahead, but I think I'm missing something.
q(?=u)
What I understand this regex to mean is: "match a q that is followed by a u", so I get a match with the string "quit", but getting only a group with 'q'.
But with the regex q(?=u)i, I don't get any result with the string "quit". Why does happen? Probably this regex doesn't have sense, but I would like to know what it means in order to understand the lookahead.