Is not a cs3 bug, is a player bug. I cut n paste your code in cs3 and it
freezes, in eclipse with flex builder plugin the same, but eclipse didn't
freeze, only the player do.




2007/5/2, Benny <[EMAIL PROTECTED]>:

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




--
Andrés González Aragón
Desarrollador Multimedia
http://www.quantium.com.mx
_______________________________________________
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