Re: [flexcoders] RegExp searching for [ and ], are they reserved?

2008-04-16 Thread Derrick Anderson
@yahoogroups.com *Subject:* Re: [flexcoders] RegExp searching for [ and ], are they reserved? i had tried escaping them, below i've pasted an example of my problem- 2 samples: 1 looking for [Employee First Name] and one looking for {Employee First Name} (curly braces vs square braces) and even

Re: [flexcoders] RegExp searching for [ and ], are they reserved?

2008-04-16 Thread Derrick Anderson
*To:* flexcoders@yahoogroups.com *Subject:* Re: [flexcoders] RegExp searching for [ and ], are they reserved? i had tried escaping them, below i've pasted an example of my problem- 2 samples: 1 looking for [Employee First Name] and one looking for {Employee First Name} (curly

Re: [flexcoders] RegExp searching for [ and ], are they reserved? SOLVED

2008-04-16 Thread Derrick Anderson
@yahoogroups.com *Subject:* Re: [flexcoders] RegExp searching for [ and ], are they reserved? i had tried escaping them, below i've pasted an example of my problem- 2 samples: 1 looking for [Employee First Name] and one looking for {Employee First Name} (curly braces vs square braces

RE: [flexcoders] RegExp searching for [ and ], are they reserved? SOLVED

2008-04-16 Thread Gordon Smith
] On Behalf Of Derrick Anderson Sent: Wednesday, April 16, 2008 11:48 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] RegExp searching for [ and ], are they reserved? SOLVED i think i figured it out, the [ and ] characters have to be double-escaped like so new RegExp(\\[[^]*\\],igm

RE: [flexcoders] RegExp searching for [ and ], are they reserved?

2008-04-15 Thread Gordon Smith
[ and ] are metacharacters in RegExp patterns. For example, [abc] matches either a, or 'b or c. To prevent this interpretation, escape them with a backslash. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On

Re: [flexcoders] RegExp searching for [ and ], are they reserved?

2008-04-15 Thread Derrick Anderson
i had tried escaping them, below i've pasted an example of my problem- 2 samples: 1 looking for [Employee First Name] and one looking for {Employee First Name} (curly braces vs square braces) and even though the brackets are escaped, the regex with [ and ] only return the ending ]. do i have the

RE: [flexcoders] RegExp searching for [ and ], are they reserved?

2008-04-15 Thread Gordon Smith
PROTECTED] On Behalf Of Derrick Anderson Sent: Tuesday, April 15, 2008 1:23 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] RegExp searching for [ and ], are they reserved? i had tried escaping them, below i've pasted an example of my problem- 2 samples: 1 looking for [Employee First Name