I remember certain regex patterns it makes a difference if you move certain characters to the end of the list.
-Mark -----Original Message----- From: [email protected] [mailto:[email protected]] Sent: Thursday, March 06, 2014 12:11 PM To: [email protected] Subject: Re: how to mxml restrict with binding AS3 variable? I found by experimentation that the following works, public static const RESTRICT_STRING_FOR_CSV:String = "0-9 a-zA-Z\&\"'~!@#$%*()\\-_+=[]|;:<>.?,\\^{}"; which uses ONE backslash to escape the ampersand and double-quote characters, but TWO backslashes to escape the minus sign (e.g. \\-) and the caret (e.g. \\^). However, I can't seem to figure how to escape the backslash character (I tried \\ and \\\ and neither worked). Is this making sense to anyone? Any idea how to escape backslash?
