All posts tagged Ruby

So I've been working on my Compiled Website, and doing some more complex stuff like working with blocks of text to turn them into lists or <pre> blocks.  Then I decided to be self-abusing and rewrite some code that dealt with HTMLizing plain text URLs.  Hey, i can do that with a regular expression!  Oh hell..

Regular expressions are a nightmare at best.  The problem is ever-worsened the longer the expression needs to become.

Continue Reading