You can capture with /(\.c\d+)/ then $len = length($1) gives you the elements you have.
To match a certain amount of numbers, just use /\d{$len}/
In reply to Re: work with files
by FreeBeerReekingMonk
in thread work with files
by no0bieMonk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |