Hi,

On 6/4/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > As2lib Regular Expression Framework
>
> P.S. I tried looking at Java examples but they mostly start with
> something like:
>
> Pattern p = Pattern.compile("a*b");
>
> Pattern.compile is private in as2lib... So I tried:
>
> p:Pattern = new Pattern("a*b");
> m:Matcher = new Matcher(p, "aaab");

Try "[a]+b". I prefer +, since + says "match at least once" while *
says "match or not at all".

> trace(String(m.matches));
>
> But it always returns 'false'.
>
> How should I be using this? Any pointers?
>
>
>
>
> _______________________________________________
> osflash mailing list
> [email protected]
> http://osflash.org/mailman/listinfo/osflash_osflash.org
>


-- 
Ray Chuan

_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to