Fixes the extrapolation regex.

This still requires tuning though, maybe just match plain old .+ for the last group?