CSS selectors may include special characters and they will remain valid selectors
document.querySelector(":not(#\\9)") // this works
However nwsapi fails while trying to parse the same selector
NW.Dom.match(":not(#\\9)"); // Fails with SyntaxError: \8 and \9 are not allowed in strict mode.
Live codesandbox to reproduce: https://codesandbox.io/s/nwsapi-syntax-error-r6wqfd