in reply to regex testing for multiple values

Regexes should be delimited by / ... / or start with an <m>, like this: m{SND|ARM|PRO|NOR|IND} or m/.../.

single quotes delimit strings, not regexes.

Update: fixed markup, Fletch++

Replies are listed 'Best First'.
Re^2: regex testing for multiple values
by grashoper (Monk) on Mar 10, 2008 at 16:21 UTC
    the usrsystem is a session variable as i am using iis and asp and activestate, I still get the syntax error not sure what I am doing wrong, what is the <c> block in your example do?