From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9784 invoked from network); 10 Mar 1999 22:13:46 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 10 Mar 1999 22:13:46 -0000 Received: (qmail 3726 invoked by alias); 10 Mar 1999 22:13:04 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 5741 Received: (qmail 3683 invoked from network); 10 Mar 1999 22:12:49 -0000 Date: Wed, 10 Mar 1999 17:12:47 -0500 From: Will Day To: zsh workers mailing list Subject: Re: PATCH: zsh-3.1.5-pws-11: signames2.awk Message-ID: <19990310171247.A21112@rom.oit.gatech.edu> Reply-To: Will Day References: <19990309225721.D19692@rom.oit.gatech.edu> <19990310195942.A13158@fysh.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary=liOOAslEiF7prFVr; micalg=pgp-md5; protocol="application/pgp-signature" X-Mailer: Mutt 0.95.3i In-Reply-To: <19990310195942.A13158@fysh.org>; from Phil Pennock on Wed, Mar 10, 1999 at 07:59:42PM +0000 X-no-archive: yes --liOOAslEiF7prFVr Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable A short time ago, at a computer terminal far, far away, Phil Pennock wrote: >> -/^XXNAMES XXSIG[A-Z][A-Z0-9]* [1-9][0-9]*/ { >> +/^XXNAMES XXSIG[A-Z][A-Z0-9]* *[1-9][0-9]*/ { > >Is that 'correct'? Shouldn't it be " *" rather than " *" to force at >least one space? > >Thus: >/^XXNAMES XXSIG[A-Z][A-Z0-9]* *[1-9][0-9]*/ { Hmm, yeah, that's really what you want. >Could the pattern matched theoretically contain horizontal tabs there >too? I've no idea what kind of output different variants of cpp produce, or what's considered correct, but it probably wouldn't be a bad idea to match one or more tabs/spaces. Perhaps: /XXNAMES XXSIG[A-Z][A-Z0-9]*[ \t]+[1-9][0-9]*/ --=20 Will Day OIT / O&E / Technical Support willday@rom.oit.gatech.edu Georgia Tech, Atlanta 30332-0715 -> Opinions expressed are mine alone and do not reflect OIT policy <- Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety. Benjamin Franklin, Pennsylvania Assembly, Nov. 11, 1755 --liOOAslEiF7prFVr Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: 2.6.3a Comment: http://rom.oit.gatech.edu/~willday/pubkey.asc iQCVAwUBNubuXhDHlOdPw2ZdAQG2ywP7B6wzodC4R6iW60ilaAarA4oNNQiTRrOO gOETRfjI8AhW4J7h1M/kdR/F5d2S/SNFXjINeXh6aTuRLZWSxhKkHmFOrpGt7m+i EzLWk1/bVzbekSFQeu2N2KvVNxlBwnh08vzVU7I1JbM9TRKfD0r9eJg35czpCdiT NktiwUcoKeY= =IfsB -----END PGP SIGNATURE----- --liOOAslEiF7prFVr--