bug-gnulib
[Top][All Lists]
Advanced

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

Re: regex [was: M4 1.4.14 on AIX 7.1BETA]


From: Eric Blake
Subject: Re: regex [was: M4 1.4.14 on AIX 7.1BETA]
Date: Thu, 29 Jul 2010 11:10:57 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.7) Gecko/20100720 Fedora/3.1.1-1.fc13 Lightning/1.0b2pre Mnenhy/0.8.3 Thunderbird/3.1.1

On 07/29/2010 10:46 AM, Rainer Tammer wrote:
>>> + m4:stdin:4: bad regular expression: `^': Memory exhausted
>> That's more than just the strtod test failing,
> unfortunately yes, the older version was much better (in this way).
>>  and not the sort of thing
>> I like to see.  The gnulib regex code has been updated in the meantime;
>> wonder if this introduced the problem.
>>
> That's quit possible.
> Is this something which should be discussed with Bruno Haible ?

Actually, Paolo's probably the expert on regex code.

> 
> Just one example:
> *
> If I use the AIX m4:*
> 
> # /usr/bin//m4 164.regexp
> regexp(GNUs not Unix, \<[a-z]\w+)
> regexp(GNUs not Unix, \<Q\w*)
> regexp(GNUs not Unix, \w\(\w+\)$, *** \& *** \1 ***)
> regexp(GNUs not Unix, \<Q\w*, *** \& *** \1 ***)

Well, yeah - AIX m4 doesn't support GNU extensions, so I wouldn't expect
it to pass the GNU m4 testsuite for GNU behavior.

> *If I use M4 1.4.14:*
> 
> # m4 164.regexp
> 5
> -1
> *** Unix *** nix ***

So gnulib's regex, as of February, worked...

> *If I use M4 1.4.14.6-ffa0:*
> 
> # ../src/m4 164.regexp
> ../src/m4:164.regexp:10: bad regular expression: `\<[a-z]\w+': Memory
> exhausted

...and has since regressed.

-- 
Eric Blake   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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