Andreas Röhler<andreas.roehler<at> easy-emacs.de> writes:
There is no mention of an automatic assignment. It says the last one
will win, so assigning a number which is already used for
a previous group should work.
would consider it a bug then - at least a docu bug
I don't think it's a doc bug. The whole point of the feature is that
you can assign constant numbers to groups, so they don't change if you
add/remove parens.
If it can suddenly throw a regexp error, just because you've added
a paren around an other paren then it pretty much defeats the
prupose of the feature.