bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Memory exhausted when doing a case-insensitive match to an empty regexp


From: Tony Leneis
Subject: Memory exhausted when doing a case-insensitive match to an empty regexp
Date: Tue, 25 Oct 2005 23:25:30 -0700
User-agent: Mutt/1.5.4i

        Gawk has started having problems with case-insensitive empty
regexp matches sometime between version 3.1.1 and 3.1.4.  Here's what I
see with gawk 3.1.4 and 3.1.5:

# gawk 'BEGIN { IGNORECASE=0; print "test" ~ "" }'
1
# gawk 'BEGIN { IGNORECASE=1; print "test" ~ "" }'
gawk: fatal: memory exhausted

When I try the same program under gawk 3.0.3, 3.1.0, and 3.1.1 I get a
response of 1 regardless of how IGNORECASE is set.

-Tony

-- 
e-mail: address@hidden              Computerized Vehicle Registration
phone : 503-402-3531                    2525 SW 1st Ave, Suite 450
FAX   : 503-294-1526                    Portland, OR 97201-4760
PGP   : 1024D/145E65E0  456A 740F F14C 64D6 EB07 E70E 037A 1601 145E 65E0


This message and any attachments are intended only for the use of the addressee 
and may contain information that is privileged and confidential. If the reader 
of the message is not the intended recipient or an authorized representative of 
the intended recipient, you are hereby notified that any dissemination of this 
communication is strictly prohibited. If you have received this communication 
in error, please notify us immediately by e-mail and delete the message and any 
attachments from your system.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]