And use StringBuilder to build teh String to save teh RAM 4 teh w1n! var body:StringBuilder = new StringBuilder(); body.append("some realy"); body.append("really really long"); body.append("regex here"); var regex:RegExp = new RegExp(rockYoBody);
----- Original Message ----- From: "Darron J. Schall" <[EMAIL PROTECTED]> To: <flexcoders@yahoogroups.com> Sent: Friday, March 17, 2006 9:16 PM Subject: Re: [flexcoders] AS3 :: Multiline RegExp declarations :: Future enhancement ? ;-) Michael Schmalle wrote: > Do you ever think down the road, you will give us regexp freaks a > multiple line regexp declaration? Don't use a regex literal. Instead, use the constructor and pass a string: var regex:RegExp = new RegExp( "some realy" + "really really long" + "regex here" ); -d -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/