codesandbox-client
codesandbox-client copied to clipboard
💥 Crash Report: Entering `[` into Console filter crashes
💥 Crash Report
What were you trying to accomplish when the crash occurred?
Filter the console.I was trying to filter the console to stop it from scrolling down to the newest entry because my app was logging on an interval and I was trying to see a specific line in the past (BTW, the forced autoscroll functionality is really annoying, and there should probably be a toggle for it so users can review past console log lines).
Link to sandbox: [link](https://codesandbox.io/s/react-scratchpad-qd246)
Crash Details
Entering the opening square bracket `[` character into the Console pane filter search field causes a crash.Environment
| Browser | Version | Operating System |
|---|---|---|
| opera | 62.0.3331 | OS X 10.14.5 |
Error Message
SyntaxError: Invalid regular expression: /[/: Unterminated character class
at new RegExp (<anonymous>)
at t.render (common.3b192d0b.chunk.js:14)
at Ai (common.3b192d0b.chunk.js:204)
at Ti (common.3b192d0b.chunk.js:204)
at Li (common.3b192d0b.chunk.js:204)
at Gs (common.3b192d0b.chunk.js:204)
at $s (common.3b192d0b.chunk.js:204)
at Aa (common.3b192d0b.chunk.js:204)
at Ea (common.3b192d0b.chunk.js:204)
at Le (common.3b192d0b.chunk.js:204)
at De (common.3b192d0b.chunk.js:204)
at En (common.3b192d0b.chunk.js:204)
at common.3b192d0b.chunk.js:204
at Object.unstable_runWithPriority (common.3b192d0b.chunk.js:221)
at Ia (common.3b192d0b.chunk.js:204)
at On (common.3b192d0b.chunk.js:204)
at HTMLDocument.r (common.3b192d0b.chunk.js:14)