If you want data extraction (as opposed to data validation)
@list = /(\d+(?:\.\d+)*|A*|B*)/g;
Update: The above doesn't work. Fix:
@list = /(\d+(?:\.\d+)*|A+|B+)/g;
In reply to Re: g matching after a single regular match
by ikegami
in thread g matching after a single regular match
by throop
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |