[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gawk] RE bug??
From: |
Stephen Davies |
Subject: |
Re: [gawk] RE bug?? |
Date: |
Fri, 8 Jul 2005 10:29:56 +0930 |
User-agent: |
KMail/1.5.1 |
G'day Stepan.
How do Silver and Actium match /[A-Z][A-Z0-9]+/ ?
I agree that my code was the original problem rather than gawk but do
not see how the above can match.
Cheers and thanks,
Stephen
On Thu, 7 Jul 2005 08:50 pm, Stepan Kasal wrote:
> Hello,
>
> [please keep address@hidden in the Cc:, so that our conversation is
> added to the searchable archives.]
>
> On Wed, Jul 06, 2005 at 09:11:11AM +0930, Stephen Davies wrote:
> > > "Silver" matches the regexp.
> > > You probably meant /^[[:upper:][:digit:]]+$/
>
> > Correct but it does not match the second.
>
> "Silver" and "Actinium" both match /[[:upper:][:digit:]]+/ and
> /[A-Z][A-Z0-9]+/
>
> You have to add anchors to the regex, ^ to the beginning, $ to the
end.
>
> HTH,
> Stepan
>
>
--
========================================================================
This email is for the person(s) identified above, and is confidential to
the sender and the person(s). No one else is authorised to use or
disseminate this email or its contents.
Stephen Davies Consulting Voice: 08-8177 1595
Adelaide, South Australia. Fax: 08-8177 0133
Computing & Network solutions. Mobile:0403 0405 83
pgpgxDOhGFPi8.pgp
Description: signature
- RE bug??, Stephen Davies, 2005/07/05
- Re: RE bug??, Stepan Kasal, 2005/07/05
- Message not available
- Re: [gawk] RE bug??, Stepan Kasal, 2005/07/07
- Re: [gawk] RE bug??,
Stephen Davies <=
- Re: [gawk] RE bug??, Bob Proulx, 2005/07/07
- Re: [gawk] RE bug??, Stephen Davies, 2005/07/07
- Re: [gawk] RE bug??, Bob Proulx, 2005/07/08
- Re: [gawk] RE bug??, Chuck Swiger, 2005/07/08