Flagrant Badassery

A JavaScript and regular expression centric blog

Archive for March, 2006

Leet Translator

Apparently I had two minutes to waste writing a super-simple 1337 translator in ColdFusion. I figured I might as well pass it on… See it in action and get the source code.

Read More

Regex Recursion (Matching Nested Constructs)

On a regular expression advice forum I visit every once in a while, some dude was trying to scrape BibTeX entries from Web pages using JavaScript (from within a Firefox extension). A single BibTeX entry looks roughly like this: @resourceType{ field1 = value, field2 = "value in quotation marks", field3 = "value in quotation marks, […]

Read More