Regex Matching

Path matches regex pattern.

            
    customHeaders: [
      {
        "path": "</^[^.]+$|[.](?!(css|gif|ico|jpg|png|txt|svg|woff|woff2|ttf|map|json|webp)$)([^.]+$)/>",
        "responseHeaders": [
          {
            "key": "Msh-custom",
            "value": "5"
          }
        ]
      }
    ]
            
          

Inspeact page to see Msh-custom header is 5.