http://www.perlmonks.org?node_id=795669


in reply to Re^2: Regexp not capturing in named subrules
in thread Regexp not capturing in named subrules

(?<thing>.+) never matched "text" (backtracking occurred), so it's clearly a major bug in ruby if your code showed it did.