branch: externals/urgrep commit ce07e97d372be5c135ae8a5ffc0171a0734edfdf Author: Jim Porter <jporterb...@gmail.com> Commit: Jim Porter <jporterb...@gmail.com>
Allow ANSI escapes for matches to end just after a newline --- urgrep.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/urgrep.el b/urgrep.el index 652e224d27..bb721e6093 100644 --- a/urgrep.el +++ b/urgrep.el @@ -760,7 +760,7 @@ This function is called from `compilation-filter-hook'." "\033\\[0?1;31m" ; Find the escapes together... "\\|" "\033\\[1m\033\\[31m" ; ... or apart. - "\\)\\(.*?\\)\033\\[0?m") + "\\)\\(.*?\n?\\)\033\\[0?m") end 1) (replace-match (propertize (match-string 1) 'face nil 'font-lock-face 'urgrep-match)