I'm pretty sure this is a case of backtracking run amok. An upstream bug has already been filed: https://bitbucket.org/birkenfeld/pygments-main/issue/697/bad-regexp-in-perllexer
There is already a maximum file size the code will highlight, but setting it even lower won't help; even very small files can cause this problem (see the bug report for an example).
I'm pretty sure this is a case of backtracking run amok. An upstream /bitbucket. org/birkenfeld/ pygments- main/issue/ 697/bad- regexp- in-perllexer
bug has already been filed: https:/
There is already a maximum file size the code will highlight, but
setting it even lower won't help; even very small files can cause this
problem (see the bug report for an example).