regexp simplifier added