RE: [flexcoders] E4X with RegExp

2009-01-12 Thread Tracy Spratt
] On Behalf Of plugsymmv Sent: Monday, January 12, 2009 5:28 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] E4X with RegExp I'm having trouble parsing some XML. This works var xL0:XMLList=inputXML..node.(/^Gear[0-9]{2}W$/.(test(@name))); This is apparently should work with a com

[flexcoders] E4X with RegExp

2009-01-12 Thread plugsymmv
I'm having trouble parsing some XML. This works var xL0:XMLList=inputXML..node.(/^Gear[0-9]{2}W$/.(test(@name))); This is apparently should work with a compiler warning public static const GEARDEF1:RegExp=new RegExp("/^Gear[0-9]{2}$/","i"); var xL2:XMLList=inp