...all I get is a syntax error mismatched right bracket
That's not what I get when I run your snippet (commenting out the do something lines). I get:
syntax error at [...] line 12, near "{"where lines 12-13 are:
elsif {
Did you perchance mean else rather than elsif?
In reply to Re^3: regex testing for multiple values
by Not_a_Number
in thread regex testing for multiple values
by grashoper
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |