- Makes extending paths with extensions simpler. - Should fix bug 32621 by parsing paths based on pattern weight rather than pattern order.