Peteris Krumins personal blog

My favorite regex of all time

I thought I'd share my favorite regex of all time. [ -~] Any idea what this regexp matches? Scroll down for the answer. . . . . . . . . It matches all ASCII characters from the space to tilde. What are these characters? These are all printable characters! Take a look at this ASCII table. Printable characters start…
Points
272
HN comments
111
Submissions
1
Cited by
0 commenters

Software EngineeringTools & Productivity2012

On Hacker News

SubmittedTitle on HNPointsComments
Nov 12, 2012My favorite regex of all time by cleverjake272111

More from Peteris Krumins

All 57 posts →

Related posts from the same era