oms1005/UM-Library — pull request #1 by frank44 (2012-02-19 00:22:36+00:00)
Title: Those regular expressions made my eyes bleed, so I cleaned them up.

Hey dude I was messing around with GitHub and decided to give this a shot. Word of advice, use the { } to control repetition, it's much easier to read now and it runs slightly faster (you probably wont notice if you only use it on short strings though).