ybooks

Books

Regular Expressions Cookbook

Jan Goyvaerts and Steven Levithan

Recommended by 1 person on the record.

The bar next to each date shows how long ago it was said: 6d is days, 4yr is years.

Jeff Atwood recommends it
I may be a card carrying member of the "Keep It Simple Stupid" club, but I'm making a meteor sized exception for regular expressions. Written properly, they will save you a tremendous amount of time in string manipulation, and I've never run across a project where they didn't come in handy somewhere.

on blog.codinghorror.com · 2 Feb 2004

This book on rcmnd →

That little bar

It says how long ago something was said, so you can tell last month from 2014 without doing the arithmetic. Full and green is recent; it drains and cools as the date gets older, and empties completely at about 6 years.

A striped bar means the date itself is an estimate — the source did not carry an exact one. An entry with no date at all gets no bar.