in reply to positional variable question
This regex does what you want, I think:\d{4}
There may be a better way, but this works for me.$date_cfg =~ s!^(\d{4})/(\d{2})(\d{2})$!$2/$3/$1!;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: Re: positional variable question
by Limo (Scribe) on Aug 27, 2000 at 06:31 UTC |