|
From: | martin rudalics |
Subject: | Re: re-builder highlighting incorrect for more than 3 groupings |
Date: | Wed, 26 Apr 2006 08:56:55 +0200 |
User-agent: | Mozilla Thunderbird 1.0 (Windows/20041206) |
> I encountered strange behavior with re-builder: > > I made a testcase to show it. Consider the following buffer: > > t-t-t-t > t-t-t-t > t-t-t-t > t-t-t-t > > re-builder with the regex "\\(.\\)-\\(.\\)-\\(.\\)" correctly highlights > all first groupings. But if i make another group, > "\\(.\\)-\\(.\\)-\\(.\\)-\\(.\\)", it only highlights the first > match. Perhaps this has something to do with missing faces for more than > three groupings. In fact you should have noted the message: reb-update-overlays: Too many subexpressions - face `reb-match-4' not defined You can add as many deffaces (defface reb-match-4 ... (defface reb-match-5 ... ... you want to your .emacs.
[Prev in Thread] | Current Thread | [Next in Thread] |