Fixing XHR shim regression due to introducing `regex` class
Merge pull request #157 from avoidwork/edge

Fixing a regression in XHR shim