help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Numbered regexps throw invalid regex error


From: Tom
Subject: Re: Numbered regexps throw invalid regex error
Date: Wed, 25 Jan 2012 20:14:07 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Andreas Röhler <andreas.roehler <at> easy-emacs.de> writes:
> 
> you can't assign a group number already assigned automatically
> 

The doc clearly says:

"There is no particular restriction on the numbering,
e.g. you can have several groups with the same number in which case
the last one to match (i.e. the rightmost match) will win."



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.






reply via email to

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