Hi MM,

I think its better practice to define that regex in a variable and switch on that variable.

HTH,

Sidney de Koning

On May 15, 2009, at 2:12 PM, Mendelsohn, Michael wrote:

Hi list...

Is it possible to use a regular expression as a case in a switch statement? I've been searching around and haven't found anything specifically for actionscript.

Thanks,
- MM

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Sidney de Koning - be a geek, in rockstar style!
Flash / AIR Developer @ www.funky-monkey.nl
Technical Writer @ www.insideria.com

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to