Match input before backtrack

Makes more sense, optimization-wise.
1 file changed