python – regex search and findall
Ok, I see what’s going on… from the docs: If one or more groups are present in the pattern, return a list of groups; this will be a list of tuples if the pattern has more than one group. As it turns out, you do have a group, “(\d+,?)”… so, what it’s returning is the … Read more