branch: externals/gtags-mode
commit 333b0ac032397d9803fc0c4cf7012f0b7c2e68fb
Author: Jimmy Aguilar Mena <kratsbinov...@gmail.com>
Commit: Jimmy Aguilar Mena <kratsbinov...@gmail.com>

    Fix matches when file path has spaces
    
    Thanks to a suggetion from @aagon I detected that my initial regex was
    excesively restrictive.
    
    (gtags-mode--output-format-regex) : Use .+ to match wildcards
    
    Closes: #9
---
 gtags-mode.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gtags-mode.el b/gtags-mode.el
index 4123d460da..89a7127a7e 100644
--- a/gtags-mode.el
+++ b/gtags-mode.el
@@ -5,7 +5,7 @@
 ;; Author: Jimmy Aguilar Mena
 ;; URL: https://github.com/Ergus/gtags-mode
 ;; Keywords: xref, project, imenu, gtags, global
-;; Version: 1.8.4
+;; Version: 1.8.5
 ;; Package-Requires: ((emacs "28"))
 
 ;; This program is free software: you can redistribute it and/or modify
@@ -100,7 +100,7 @@ The address is absolute for remote hosts.")
   "Project Global root for this buffer.")
 
 (defconst gtags-mode--output-format-regex
-  "^\\([^ ]+\\) \\([^ ]+\\) \\([[:digit:]]+\\) \\(.*\\)"
+  "^\\(.+\\) \\([^ ]+\\) \\([[:digit:]]+\\) \\(.*\\)"
   "Regex to filter the output with `gtags-mode--output-format-options'.")
 
 (defconst gtags-mode--output-format-options

Reply via email to