Posts labeled "regex"

Stateless Syntax Highlighter

About a year ago I got the dumb idea of creating a syntax highlighter that uses ECMA—48 SGR sequences to enable syntax highlighting on the command line. I searched for a while to see if I could cure a little NIH Syndrome and didn't find anything, so I ventured off on my own and th… more »

Stand Back

So I happened to notice that links in posts on the Alter Aeon boards weren't being parsed correctly; lots of false positives and correct urls weren't being linked. So I did what every illogical programmer would do. So I racked my brain for a few minutes and using the awesome RegExr air a… more »