-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Jack Woehr on 8/29/2008 11:39 AM:
> Got into trouble with regexp .. `\1' thru `\9' work, but `\10' does not.
> Syntax
> mistake on my part, or regexp limitation to 9 parenthesized subexpressions?

Documented limitation in the current implementation.
http://www.gnu.org/software/m4/manual/m4.html#Regexp

> 
> Tips? Yeah, I know, I should break it down a little more ...

How much do people want extended behavior?  Perhaps we could make \10 give
a warning in m4 1.6 that syntax will be changing, so that in m4 2.0 it
gives the tenth () rather than the first () followed by literal 0.  But
that would still be quite a wait.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             [EMAIL PROTECTED]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAki5oFwACgkQ84KuGfSFAYAPggCgjeWRVL3vAHwqTlbQvNEf4I8+
2xoAn2+LQVrRrUzFjUlAun0LfNu2KElR
=mzs2
-----END PGP SIGNATURE-----


_______________________________________________
m4-discuss mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/m4-discuss

Reply via email to