Matches a string that starts with one or more digits, followed by an "h", "m" or "D" (case sensitive), and then ends.
The (?: ... ) structure in this case doesn't do anything. It might as well have been written:
qr/^\d+[hmD]$/In reply to Re: Regular expression
by tobyink
in thread Regular expression
by akagrawal3
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |