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!;
In reply to Re: positional variable question
by btrott
in thread positional variable question
by Limo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |