OK, sorry, I know this is pretty basic but my brain doesn't want to wrap around it.
I need to create a bash shell script that tests the first parameter to see if it matches the following regex:
^[rRsS][0-9]{3}
Problem is, the box runs bash 2.0.5 and it doesn't have the regex match operator.
So what's the cleanest way to do this?