Added path to regexp utils function