in reply to RegEx bump version number
Try:
(Works for me).jettero(++)'s more concise code also works.$version =~ s/(\d+\.\d+\.)(\d+)(\.\d+)/$1.($2+1).$3/e;
"Choose a job you like and you will never have to work a day of your life" - Confucius
In Section
Seekers of Perl Wisdom