Path to regexp