How was m,n,p etc. supposed to represent digits? Anyway, if you want to match digits, match digits:
#!/usr/bin/env perl use strictures; my @v = 'A1=<9,8>:<7,6>:<5,4>...go on' =~ /\d/ag;
In reply to Re^3: Extraction of digits from a string
by hippo
in thread Extraction of numbers in an string
by t-rex
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |