import re
m = re.match("([abc])+", "abc")
n= m.groups()
why in this case does m only contain 'c',as [abc] can be any character 'a', 'b' or 'c' and '+' indicates this can be repeated shouldn't 'a', 'b' and 'c' all be placed in groups?
import re
m = re.match("([abc])+", "abc")
n= m.groups()
why in this case does m only contain 'c',as [abc] can be any character 'a', 'b' or 'c' and '+' indicates this can be repeated shouldn't 'a', 'b' and 'c' all be placed in groups?