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
case-insensitivity.

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:
http://www.gnu.org/software/emacs/manual/html_node/emacs/Regexps.html#Regexps

(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   [email protected]    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Reply via email to