« first day (123 days earlier)      last day (918 days later) » 

8:45 AM
@MartinEnder I'm confused! I'm trying to get to grips with Retina, I thought I was close, but I'm getting some trailing 0s. I wondered if you could point out my stupidity here: retina.tryitonline.net/…
Any clues would be much appreciated! Sorry if it's a stupid question... :/
 
8:58 AM
Hmm, seems that ^ and $ fix that, I guess I was hitting a zero-length match at the end! retina.tryitonline.net/… I imagine I can still improve this I thought perhaps using M% somehow...
 
 
2 hours later…
10:36 AM
@DomHastings yes exactly. When your regex allows zero length matches you'll always get one at the end.
You usually don't need $ to fix that though, ^ should be enough.
 

« first day (123 days earlier)      last day (918 days later) »