I'm having an problem to return the matches in separated groups, since the last match ")" only works in the last register. I want to return all three matches in the example below. Any advice?
Link to regex101.
regex = "\[\]\(((?s).*)\)"
text = " 


"
everything after the first  is returned.