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 ebl...@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature