nojhan/colout — pull request #15 by durka (2013-04-07 01:00:13+00:00)
Title: correctly detect a numeric color argument

I tried the 256 colors example in the README and got an error:

alex$ ./colout.py '/var/[a-z]+' 135
lexers.append(lexer[1][0])
IndexError: tuple index out of range

It seems some of the lexers are just empty tuples. I added a try/catch block around that line.