[Top][All Lists]

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

Re: patsubst: multiline text

From: Eric Blake
Subject: Re: patsubst: multiline text
Date: Wed, 08 Sep 2010 18:57:34 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20100806 Fedora/3.1.2-1.fc13 Mnenhy/0.8.3 Thunderbird/3.1.2

On 09/08/2010 03:45 PM, clemens fischer wrote:
Eric Blake wrote:

M4 1.4.x only supports the glibc emacs flavor of regexp.  M4 2.0 has
improved regex support, allowing you to choose different flavors
supported by glibc, such as strict posix, extended regex, and so
forth, but still needs tweaking before it will support tunables like

So the non-greedy "?" postfix operator is not available below m4-2, did
I get this right?

It takes so much time to experimentally determine what works and what
doesn't, would it be possible to document the RE syntax available in
m4-1.x?  Even if only a README text, it would help quite a bit.

The current regexp syntax already IS documented.  In the m4 manual,
http://www.gnu.org/software/m4/manual/m4.html#Regexp has a link to:

(well, I had to click through a few pages to find it; perhaps we can patch the m4 manual to have a more direct link...)

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

reply via email to

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