Is there a Ruby regex that can return all of the following:
If I only had one pair of parens, I would just do:
but for varying amounts I don’t know how to do it.
(Maybe I could group the whole thing in parens and put a + after it -
but then it would return the whole thing also - is there a way around