Problem description:
“We encountered an error” when hovering over a regular expression such as “\x1b” in c++
Expected behavior:
Seeing the token type and being able to change its color from the hover menu
Actual behavior:
Immediate crash
Steps to reproduce:
- Edit a theme
- Go to c++ preview
- Enter a string with “\x1b” in it
- Hover over it
Bug appears at this link:
https://replit.com/theme/@user/theme/edit
Browser/OS/Device:
Chrome