[Flashcoders] AS3 RegExp (bug?)

2007-05-02 Thread Benny
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

Re: [Flashcoders] AS3 RegExp (bug?)

2007-05-02 Thread Andrés González Aragón
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

RE: [Flashcoders] AS3 RegExp (bug?)

2007-05-02 Thread Benny
González Aragón Verzonden: woensdag 2 mei 2007 17:39 Aan: flashcoders@chattyfig.figleaf.com Onderwerp: Re: [Flashcoders] AS3 RegExp (bug?) 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