Open Sembiance opened 2 years ago
Narrowed it down to this text.replace
op: "\u001b[11;0;3549;3080;3840;241;943;4082;3086;124;221;175;124;15;1807;3086;221!".replace(/^\x1b\[((?:\d{1,3};?)+|)m/, v => "hi")
For anyone else experiencing this, you can se the following v8 flag to fix the problem: --enable-experimental-regexp-engine-on-excessive-backtracks
The following code will produce an infinite loop that ansi-to-html never returns from: