fixed the faulty regex for webdav