Dynamic `pathPattern` as described in the tutorial