Regular expression order-sorted unification and matching. (March 2015)