Re: [Flashcoders] E4X, regexp and user input

2008-07-18 Thread Wagner Amaral
That would be: var re:RegExp = new RegExp(^ + userString); _siteXML..*.( re.test( attribute(name))); Note: I simplified the regex a little bit. The .* at the end is redundant, and I removed the [] because /^New/ is different than /^[New]/ and the first seems more like what you want. The first

RE: [Flashcoders] E4X, regexp and user input

2008-07-18 Thread Merrill, Jason
and technologies? Check out our internal GTO Innovative Learning Blog subscribe. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Wagner Amaral Sent: Friday, July 18, 2008 3:03 PM To: Flash Coders List Subject: Re: [Flashcoders] E4X, regexp and user input