November 2009
3 posts
1 tag
Regex URL Hunting
This is very geeky — very, very geeky. John Gruber offers this regex (search) pattern identifying URLs in a page or selection of text.
\b(([\w-]+://?|www[.])[^\s()<>]+(?:\([\w\d]+\)|([^[:punct:]\s]|/)))
I have a love / hate relationship with regex. Its power to create shortcuts in my workflow is incredible and there’s just something about its arcane, cryptic structure...
1 tag
All you need is love. But a little chocolate now and then doesn’t hurt.
– Charles M. Schulz (via fuckyeahhappy)
2 tags
Voting? Confirmed!
Voted! My rural voting place was practically deserted and those who were there, both voting and volunteering, all appeared to be longtime AARP card holders. The Republican party had a heavy presence, both on the ballot and outside the polling place. I’m not upset that Republicans were well represented. I was upset that no other party seemed to want to bother. There was only one third...