G
Grant
Hello! I've got scratch variables like:
c1
sc1
sr1
The letters involved should either be "c", "sc", or "sr", and the
number(s) could be any. This is pulled from the URL, and I'd like to
make sure it's formed correctly, so I'd rather not just filter it for
letters and filter it for numbers. It seems like I'd need to check it
character by character? How can I do this? I'm a Perl newbie.
Thanks!
- Grant
c1
sc1
sr1
The letters involved should either be "c", "sc", or "sr", and the
number(s) could be any. This is pulled from the URL, and I'd like to
make sure it's formed correctly, so I'd rather not just filter it for
letters and filter it for numbers. It seems like I'd need to check it
character by character? How can I do this? I'm a Perl newbie.
Thanks!
- Grant