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

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

bug#64939: 30.0.50; The default auto-mode-interpreter-regexp does not ma


From: Wilhelm Kirschbaum
Subject: bug#64939: 30.0.50; The default auto-mode-interpreter-regexp does not match env with flags
Date: Tue, 01 Aug 2023 08:20:49 +0200
User-agent: mu4e 1.9.3; emacs 30.0.50


Juri Linkov <juri@linkov.net> writes:

The problem is that even with a local change, the match group 2 is hard
coded.

You could use a shy group \(?: ... \)
in your customized value of 'auto-mode-interpreter-regexp'
that doesn't change the match index from 2 to 3.


Fantastic, thanks. I was not aware that existed.




reply via email to

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