flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deepak MS <megharajdee...@gmail.com>
Subject Re: Filtering ArrayCollection using RegExp
Date Fri, 08 May 2015 05:28:29 GMT
Hi Kessler,
I didn't knew about that class! It's great. Typically, I wanted 'contains'
, 'starts with' and 'ends with'. All of it is there.
I was using flex 3 in my project. So, i'll just replicate this class in my
project. Thanks again, that was helpful.

Cheers!


On Thu, May 7, 2015 at 4:44 PM, Kessler CTR Mark J <
mark.kessler.ctr@usmc.mil> wrote:

> Try [1] to see if it makes it a little easier assembling a regex pattern.
>  It can create the pattern as a string or create a RegExp with the pattern
> already assembled.
>
>
> RegExPatterns.createRegExp("my search value", RegExPatterns.CONTAINS);
>
> RegExPatterns.createPatternString ("my search value",
> RegExPatterns.CONTAINS);
>
>
> [1]
> https://flex.apache.org/asdoc/spark/components/supportClasses/RegExPatterns.html
>
> -Mark
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message