Oh, and there is one more. It's an Eclipse plugin called QuickRex (http://www.bastian-bergerhoff.com/eclipse/features/web/QuickREx/toc.html). Is great for testing Java and Perl style regexes.
Scott
-----Original Message-----
From: [EMAIL PROTECTED] on behalf of Aral Balkan
Sent: Fri 2/24/2006 10:08 AM
To: Open Source Flash Mailing List
Cc:
Subject: Re: [osflash] Regular Expression Class?
A great utility is RegexBuddy -- it's not free/open source but very
helpful :)
Aral
Jim Tann wrote:
> Ah Igor just the man. I have just been playing with as2lib’s regex
> classes as it happens but would like a pointer or two if that’s ok. I
> am trying to use regex to check if a password is alpha numeric, this
> is the code:
>
> function checkPass(strPassword:String):Boolean{
>
> var regexPassword :Pattern = new Pattern("[^A-Za-z0-9]");
>
> var matchPassword :Matcher = new Matcher(regexPassword, strPassword);
>
> return matchPassword.matches();
>
> }
>
> It is always returning false, im sure my syntax is wrong. Can you
> point me in the right direction please?
>
> Jim
>
> <snip>
>
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org
<<winmail.dat>>
_______________________________________________ osflash mailing list [email protected] http://osflash.org/mailman/listinfo/osflash_osflash.org
