On 2/14/06, Chris Devers <[EMAIL PROTECTED]> wrote:
snip
> So, as others have asked, is it really pragmatic to come up with a regex
> that will properly recognize any of these eccentric-but-real surnames,
> while rejecting "non-surnames" like, say...
>
> Time And Place
> Bee Sting
> Rose Bush
>
> .
On Tue, 14 Feb 2006, Tom Phoenix wrote:
> On 2/14/06, Gerald Wheeler <[EMAIL PROTECTED]> wrote:
>
> > I am trying to allow input of a person's first and last name in one
> > form field, nothing more, nothing less
>
> Robert de Niro?
> Mary Kay Place?
> Arthur Conan Doyle?
> Harry S Truman?
> Ki
-Original Message-
From: David Kaufman [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 14, 2006 1:23 PM
To: beginners@perl.org
Subject: Re: regexpressions help
>"Hans Meier (John Doe)" <[EMAIL PROTECTED]> wrote:
>>
>> Gerald Wheeler wrote:
>>>
"Hans Meier (John Doe)" <[EMAIL PROTECTED]> wrote:
>
> Gerald Wheeler wrote:
>> I am trying to allow input of a person's first and last name in one
>> form field, nothing more, nothing less
>>
>> There should be only one uppercase A-Z character followed by one or
>> more lowercase a-z characters fo
006 1:47 PM
To: Gerald Wheeler
Cc: beginners@perl.org
Subject: Re: regexpressions help
On 2/14/06, Gerald Wheeler <[EMAIL PROTECTED]> wrote:
> I am trying to allow input of a person's first and last name in one
form
> field, nothing more, nothing less
Robert de Niro?
Mary Kay Pla
On 2/14/06, Gerald Wheeler <[EMAIL PROTECTED]> wrote:
> I am trying to allow input of a person's first and last name in one form
> field, nothing more, nothing less
Robert de Niro?
Mary Kay Place?
Arthur Conan Doyle?
Harry S Truman?
Kim Jong-il?
brian d foy?
Sting?
John Paul II?
George W. Bush?
P
Glad I was able to help.
Ken Wolcott
-Original Message-
From: Gerald Wheeler [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 14, 2006 2:31 PM
To: Wolcott, Kenneth A
Subject: RE: regexpressions help
Kenneth,
works for me
much appreciated..
Jerry
>>> "Wolcott, Kenn
Hans Meier (John Doe) am Dienstag, 14. Februar 2006 21.35:
> if (/^\s*([A-Z][a-z])+\s*([A-Z][a-z])+\s*$/) {
> # input is ok, so now we format:
> my $formatted="$1 $2";
> do_something_with($formatted);
> }
Sorry, this is completely bullshit, shuld have tested before hitting send.
my $user
--
-Original Message-----
From: Gerald Wheeler [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 14, 2006 12:04 PM
To: beginners@perl.org
Subject: regexpressions help
I am trying to allow input of a person's first and last name in one form
field, nothing more, nothing less
On 2/14/06, Gerald Wheeler <[EMAIL PROTECTED]> wrote:
> I am trying to allow input of a person's first and last name in one form
> field, nothing more, nothing less
>
> There should be only one uppercase A-Z character followed by one or
> more lowercase a-z characters followed by one space followed
Gerald Wheeler am Dienstag, 14. Februar 2006 21.03:
> I am trying to allow input of a person's first and last name in one form
> field, nothing more, nothing less
>
> There should be only one uppercase A-Z character followed by one or
> more lowercase a-z characters followed by one space followed b
.
HTH,
Ken Wolcott
-Original Message-
From: Gerald Wheeler [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 14, 2006 2:04 PM
To: beginners@perl.org
Subject: regexpressions help
I am trying to allow input of a person's first and last name in one form
field, nothing more, nothing
I am trying to allow input of a person's first and last name in one form
field, nothing more, nothing less
There should be only one uppercase A-Z character followed by one or
more lowercase a-z characters followed by one space followed by one
uppercase A-Z character followed by one or more lowerca
13 matches
Mail list logo