|
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 hardcoded.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.
[Prev in Thread] | Current Thread | [Next in Thread] |