Removed unnecessary non-capturing group in testing for WebKit.