Thanks for confirming this. I submitted a bug report with Adobe.

I noticed that if the pattern is used with exec command the same thing
happens. Aafter the last actual match is found it will not return null for
the result so in a while loop (as demonstrated in the Adobe docs for the
exec method) you'll get trapped in an endless loop. But with the exec method
we at least can come up with a work-around by testing if the new lastindex
is > then the previous lastIndex. If not then stop the search.


-----Oorspronkelijk bericht-----
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens Andrés 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 the player do.

_______________________________________________
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