Yes, it matches all the valid inputs, but it also matches various invalid inputs.
If all you care about is matching valid inputs and don't care about matching invalid ones, you can just do:
if (1) { ...; }
In reply to Re^4: Match multiple number
by tobyink
in thread Match multiple number
by IB2017
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |