Hi guys, this might be a trivial prob but Im having problem with regexp pattern.
This wont compile: var singleDatePattern:RegExp = \d{2}(/)\d{2}(/)\d{4}; I've tried this: var singleDatePattern:RegExp = new RegExp("/\d{2}(/)\d{2}(/)\d{4}/"); but it wont match against the string "08/20/2008". returns false. I've tried the pattern on http://gskinner.com/RegExr/ and is confirmed to be correct. What am I missing?