Remove needless backtracking

This caused ruby 1.8.7 to have an overflow in the regular expression
matcher as it continually tried to backtrack on uncaptured content.

Fixes #327