[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gawk] RE bug??
From: |
Stepan Kasal |
Subject: |
Re: [gawk] RE bug?? |
Date: |
Thu, 7 Jul 2005 13:20:56 +0200 |
User-agent: |
Mutt/1.4.1i |
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
- RE bug??, Stephen Davies, 2005/07/05
- Re: RE bug??, Stepan Kasal, 2005/07/05
- Message not available
- Re: [gawk] RE bug??,
Stepan Kasal <=
- Re: [gawk] RE bug??, Stephen Davies, 2005/07/07
- 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