imlou has asked for the wisdom of the Perl Monks concerning the following question:
Correct?...not correct?my @dates = map {s/(\d{2, 4}[\W]\d{2}[\W]\d{2.4})/<date>$1</date>/g; s +plit;} <FILE>;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: matching different date formats
by Callum (Chaplain) on Nov 08, 2002 at 23:15 UTC | |
| |
|
Re: matching different date formats
by sauoq (Abbot) on Nov 08, 2002 at 23:31 UTC | |
by imlou (Sexton) on Nov 09, 2002 at 00:17 UTC | |
by Enlil (Parson) on Nov 09, 2002 at 00:52 UTC |