I get the error **"Uncaught: Unclosed regex pattern at position: 2327651"** when using the JavaScript code: `let jj = jid.match(/([^/]+)(?:\/(.+))?/);` If I replace the code like this: ``` const regex = new RegExp("([^/]+)(?:\/(.+))?"); let jj = jid.match(regex); ``` the error disappears, and everything works as expected.