Add a negative lookahead assertion to make sure the next character is not a digit: /\d{5}(?!\d)/
--- print map { my ($m)=1<<hex($_)&11?' ':''; $m.=substr('AHJPacehklnorstu',hex($_),1) } split //,'2fde0abe76c36c914586c';
In reply to Re: specific numbers of digits
by pfaut
in thread specific numbers of digits
by emichswimr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |