http://www.perlmonks.org?node_id=529371


in reply to simple regexp question

Hi,
what exactly is 2005100?
2005-1-00 ?
2005-10-0 ?
if you don't know how many chars a month/day can have you can never create a clever enough regexp to my humble opinion

Rob

Replies are listed 'Best First'.
Re^2: simple regexp question
by duff (Parson) on Feb 10, 2006 at 15:13 UTC

    It could be that his dates are 4 digit year followed by 3 digit julian day; no one said anything about month/day.

      Mixing the Gregorian (2005) and Julian (001) calendar? is that very likely?