I have some troubles with RegExp in Flash CS3 (AS3). It seems whenever a
pattern ends with .* AND has the Global flag set flash freezes.

Simplified sample code:

  var re:RegExp=/.*/g;
  var str:String="one two three";
  trace(str.match(re)); 

Why does Flash CS3 (AS3) freeze with this code, is it a bug or am I missing
something obvious?

- Benny


_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to