RE: [Flashcoders] regular expressions in Flash8?

2007-05-18 Thread Merrill, Jason
can we now use regularexpressions in Flash8 to manipulate strings? Yes, there are some regular expression classes floating out there for AS2/pre-Flash 9 people, have you googled those? Sorry I can't be more help than that. Jason Merrill Bank of America GTO Learning Leadership Development

Re: [Flashcoders] regular expressions in Flash8?

2007-05-18 Thread Juan Carlos Anorga
well... you can't really use regular expressions in flash8 unless you let javascript in the browser do it for you. I don't think you need regexp to solve your problem though. I think you could just do this: var txt:String = test/descr /descr; // replace /descr with /descr txt =

RE: [Flashcoders] regular expressions in Flash8?

2007-05-18 Thread Keith Reinfeld
Of Juan Carlos Anorga Sent: Friday, May 18, 2007 2:25 PM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] regular expressions in Flash8? well... you can't really use regular expressions in flash8 unless you let javascript in the browser do it for you. I don't think you need regexp

RE: [Flashcoders] Regular Expressions

2006-08-24 Thread neo binedell
RegEx performs greedy searches, so it would find a first and move past it, which would break the second pattern as it would just be b. In general you want to order your expressions from longer matching to shorter if one contains the other. Just think of it as gobbling up patterns before other

Re: [Flashcoders] Regular Expressions

2006-08-24 Thread Scott Hyndman
Regex supports lazy matching as well using the '?' option on pretty much any quantifier. Scott On 24/08/06, neo binedell [EMAIL PROTECTED] wrote: RegEx performs greedy searches, so it would find a first and move past it, which would break the second pattern as it would just be b. In general

RE: [Flashcoders] Regular Expressions

2006-08-23 Thread Steven Sacks | BLITZ
http://www.regular-expressions.info/tutorial.html This is the best RegEx tutorial I've seen out there. It's comprehensive and every lesson builds on the last. By the time you get through it, you'll be a RegExpert! :) ___