Jan 22, 2001, 10:12 AM
Post #2 of 2
I think the author didn't know what they were doing...
I suspect it was meant to be:
^ # beginning of string
[sS] # an 's' or 'S'
[cC] # a 'c' or 'C'
[\d+] # a digit (0-9) or '+'
[\w*] # a word char (a-z, A-Z, 0-9, _) or '*'
The /i modifier there allows case-insensitive matching, meaning the 's' can match either an 's' or an 'S'.
Jeff "japhy" Pinyan -- accomplished hacker, teacher, lecturer, and author