1. Georg Brandl
  2. pygments-main
  3. Issues
Issue #891 resolved

PrologLexer may freeze with triple backslashes

Yuya Nishihara
created an issue

PrologLexer freezes with the following input, probably because of inefficient regexp pattern.

How to reproduce:

$ pygmentize -l prolog ADuC_bypassUpgrade.pro

https://bitbucket.org/tortoisehg/thg/issue-attachment/2407/tortoisehg/thg/1360165263.23/2407/ADuC_bypassUpgrade.pro

Pygments version: 1.6 or 7304e4759ae6

Comments (1)

  1. Log in to comment