in reply to Reaped: Re^2: regex testing for multiple values
in thread regex testing for multiple values
if ($Session->{'usrSystem'}=~/{IND|NOR|PRO|ARM|SND/s)
I don't understand why its not executing the code block, all I get is a syntax error mismatched right bracket for now I wrote as a series of if statements its ugly but it works.See bolded areas.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: regex testing for multiple values
by nefigah (Monk) on Mar 10, 2008 at 19:18 UTC | |
|
Re^4: regex testing for multiple values
by Errto (Vicar) on Mar 10, 2008 at 21:49 UTC | |
|
Re^4: regex testing for multiple values
by ww (Archbishop) on Mar 10, 2008 at 18:55 UTC | |
by Not_a_Number (Prior) on Mar 10, 2008 at 19:19 UTC | |
by ww (Archbishop) on Mar 10, 2008 at 20:32 UTC |