I\'d like to match a regex and get the position in the string of the match
For example,
\"AustinTexasDallasTexas\".match_with_posn /(Texas)/ <
\"AustinTexasDallasTexas\".match_with_posn /(Texas)/
"AustinTexasDallasTexas".gsub(/Texas/).map { Regexp.last_match.begin(0) } #=> [6, 17]