in reply to RegEx bump version number
(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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: RegEx bump version number
by ady (Deacon) on Apr 25, 2007 at 17:46 UTC |