
japhy
Enthusiast
/ Moderator
Jan 22, 2001, 10:12 AM
Post #2 of 2
(2458 views)
|
I think the author didn't know what they were doing...
m{ ^ # 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 '*' }x I suspect it was meant to be: 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
|