Incrementing the portion matching /[a-zA-Z]*[0-9]*\z/ (^ dropped) would make sense. However, you can do that pretty easily.
s/([a-zA-Z]*[0-9]*)\z/++(my$x=$1)/e;
In reply to Re: String increment - reasoning
by ikegami
in thread String increment - reasoning
by throop
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |