- Feature Articles
-
CodeSOD
- Most Recent Articles
- A Sudden Tern
- Going Through Time
- A Pirate's Confession
- The Review
- No Yes
- The Utils
- A Case of Old Code
- Linguistic Perls
-
Error'd
- Most Recent Articles
- Twofers
- Two-faced
- Boxing Day Math
- Michael's Holiday Snaps
- Anonymice
- A Horse With No Name
- On the Dark Side
- Untimely
-
Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
It's certainly easier to understand than the original, which required that I memorize the ascii conversion table.
In regards to the performance of regex, there are very few times when CPU performance is more critical than correct and concise code.
Admin
All crappiness about the function aside, you could have at least added comments to the If statement to explain your magic numbers in case someone wanted to add or remove any.