Here is a quick example usage...

var pattern:RegExp = RegExPatterns.createRegExp("what I'm matching", 
RegExPatterns.CONTAINS);

myTextInput.text.match(pattern);
or
myTextInput.text.replace(pattern, replacementObject);
or
myTextInput.text.search(pattern);


-Mark

-----Original Message-----
From: carlos.rov...@gmail.com [mailto:carlos.rov...@gmail.com] On Behalf Of 
Carlos Rovira
Sent: Thursday, January 09, 2014 7:17 AM
To: dev@flex.apache.org
Subject: Re: New Flex MaskedTextInput Spark Component

Hi Mark, thanks for pointing me to this class, I was not aware of it, and I
will add to my arsenal :).

Regarding this concrete case, If we end inserting regex functionality in
the MaskedTextInput (very likely) we could think if we need some behaviour
to complement this class.

Reply via email to