Unify all length matchers into a single matcher