3 ms·
Uncaught SyntaxError: Invalid regular expression: /c++/: Nothing to repeat... on query(['remote','c++'])
by zerr 11y ago
Uncaught SyntaxError: Invalid regular expression: /c++/: Nothing to repeat...
on query(['remote','c++'])
- kristopolous 11y agoI love how I'm doing support on this! query(['remote',/c\+\+/]) The lack of quotes in the above example is 100% intentional ... copy and paste that exactly ... (js is kinda weird sometimes). If you are really interested (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/search https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...) will tell you more about it.