Ah yes, I see that. They just don't have their home page updated.
The home page says only for Windows. It's only once you arrive at
some of the lower tier pages that a Linux version is mentioned.
Have to add this to the list of reasons to upgrade to a new Intel
based Mac. RegEx Buddy lo
Any good OS X equivalents out there?
What I use (or ~try~ not to ;-):
http://www.apple.com/downloads/dashboard/developer/regexwidget.html
- Jon
___
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk
NYPHPCon 2006
Aaron Fischer agfische-at-email.smith.edu |nyphp dev/internal group use|
wrote:
Looks interesting but it's only offered for Windows.
http://www.regexbuddy.com/index.html
Any good OS X equivalents out there?
-Aaron
On Mar 1, 2007, at 3:16 PM, Cliff Hirsch wrote:
It's so simple! Seriously, I'
Thanks Cliff, I'll have to get Regex Buddy, that's a cool tool to have.
-Tim
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Cliff Hirsch
Sent: Thursday, March 01, 2007 3:17 PM
To: NYPHP Talk
Subject: Re: [nyphp-talk] RegExp Assistance
It
True -- bites. I run it inside Parallels.
On 3/1/07 3:25 PM, "Aaron Fischer" <[EMAIL PROTECTED]> wrote:
> Looks interesting but it's only offered for Windows.
> http://www.regexbuddy.com/index.html
>
> Any good OS X equivalents out there?
>
> -Aaron
>
> On Mar 1, 2007, at 3:16 PM, Cliff Hirsch
Looks interesting but it's only offered for Windows.
http://www.regexbuddy.com/index.html
Any good OS X equivalents out there?
-Aaron
On Mar 1, 2007, at 3:16 PM, Cliff Hirsch wrote:
It's so simple! Seriously, I've said it before -- Regex Buddy is
awesome.
hy Boyden" <[EMAIL PROTECTED]> wrote:
> Any RegExp gurus care to do an educational breakdown of the RegEx filter
> in that function?
>
> I just can't get my head around regular expressions, too much like
> algebra and Perl ;-p
>
> TIA,
>
> Ti
Aaron Fischer wrote:
> BTW, big props for your book. It's been extremely
> helpful.
Thanks! I plan to bring some more free copies to a NYPHP meeting, but I
keep missing them due to being out of town. Hopefully I'll catch the
next one.
Chris
--
Chris Shiflett
http://shiflett.org/
___
Gotcha. Thanks Chris, I'll take a look at Cal's pattern. =)
BTW, big props for your book. It's been extremely helpful.
-Aaron
On Mar 1, 2007, at 11:25 AM, Chris Shiflett wrote:
Hi Aaron,
I use the regexp from Chris's Essential PHP Security book:
http://phpsecurity.org/
Cool. :-)
I act
Hi Aaron,
> I use the regexp from Chris's Essential PHP Security book:
> http://phpsecurity.org/
Cool. :-)
I actually prefer Cal Henderson's pattern, because he meticulously
crafted it from the RFC, and it's still reasonably short. The one in my
book works well, but it's slightly more lenient th
This article presents the type of certainty we want in all aspects of
our programming lives. Peter
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Chris Shiflett
Sent: Thursday, March 01, 2007 11:08 AM
To: NYPHP Talk
Subject: Re: [nyphp-talk] RegExp
I went with this regexp from Chris. Thank you all.
Peter
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Aaron Fischer
Sent: Thursday, March 01, 2007 11:03 AM
To: NYPHP Talk
Subject: Re: [nyphp-talk] RegExp Assistance
I use the regexp from Chris
Sent: Thursday, March 01, 2007 10:57 AM
To: NYPHP Talk
Subject: Re: [nyphp-talk] RegExp Assistance
I use this function:
function validateEmail(email)
{
var
filter=/^(\w+(?:\.\w+)*)@((?:\w+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z
]{2})?)$/i;
if(filter.test(email)=
Peter Sawczynec wrote:
> Does anyone have a real-life tested simple regexp that would plug
> into the snippet above and be more complete?
There can be only one:
http://iamcal.com/publish/articles/php/parsing_email
Chris
--
Chris Shiflett
http://shiflett.org/
__
I'm personally no good at all at regexes, but a colleague sent me a link to this story:
http://worsethanfailure.com/Articles/Validating_Email_Addresses.aspx
which does have what the author claims to be a pretty complete email validation
regex at the bottom
good luck,
~c
I use the regexp from Chris's Essential PHP Security book:
http://phpsecurity.org/
$email_pattern = '/[EMAIL PROTECTED]<&>]+@([ -a-z0-9]+\.)+[a-z]{2,}$/i';
if (preg_match($email_pattern, $yourEmailVar)) {
echo 'It's good';
}
else {
echo 'There's a problem';
}
Note, the echo's are
The Daily WTF had a regular expression recently on their page that was
supposed to be the be-all end-all for email validation.
http://thedailywtf.com/Articles/Validating_Email_Addresses.aspx
It's near the bottom of the page. The comments have a lot more examples
and discussion about email vali
I use this function:
function validateEmail(email)
{
var
filter=/^(\w+(?:\.\w+)*)@((?:\w+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i;
if(filter.test(email)==true) {
return true;
} else{
return false;
}
}
Alvaro
Peter Sawczyn
I am currently using this regexp noted below to validate client-side
before the user submits so that
at least their email is well-formed:
var emailRegxp = /^([\w]+)(.[\w]+)*@([\w]+)(.[\w]{2,3}){1,2}$/;
if( emailRegxp.test(strng) != true ){
return false;
}else{
return true;
}
But, this
19 matches
Mail list logo