@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
*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
@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
] 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
[ 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
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
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
7 matches
Mail list logo