Hi Monks !
Searching for a number, followed by a char, followed by the same number is easy:
m/(\d).\1/
But how to search for a number, followed by a char, followed by the same number increased by one (\1+1) ?
So valid would be:
3x4, 5a6
Many thanks for your help !!
In reply to arithmetic in a regex ? by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |