test to making path pattern regex