|
From: | Paul Eggert |
Subject: | Re: Patch to m4-mode.el |
Date: | Sun, 20 Sep 2015 11:20:12 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 |
Drew Csillag wrote:
Diff attached.
That regexp collection is already pretty hairy because of the preceding line, which is a near-duplicate. How about refactoring it as per attached untested patch instead? The idea is to surround the entire keyword with \(...\), so that the matching regexp is of the form \(\(m4_\)?\(keyword1\|keyword2\|...\)\).
m4.diff
Description: Text document
[Prev in Thread] | Current Thread | [Next in Thread] |