emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/csharp-mode e2b2e33557: Summary: Fix regex errors in cs


From: ELPA Syncer
Subject: [elpa] externals/csharp-mode e2b2e33557: Summary: Fix regex errors in csharp-mode
Date: Thu, 24 Nov 2022 17:57:32 -0500 (EST)

branch: externals/csharp-mode
commit e2b2e33557754524fd64cf64b39cbce0bc6aa674
Author: Theodor Thornhill <theo@thornhill.no>
Commit: Theodor Thornhill <theo@thornhill.no>

    Summary: Fix regex errors in csharp-mode
---
 csharp-compilation.el | 2 +-
 csharp-mode.el        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/csharp-compilation.el b/csharp-compilation.el
index 78338a709d..39e4953749 100644
--- a/csharp-compilation.el
+++ b/csharp-compilation.el
@@ -78,7 +78,7 @@
    "\\([^(\r\n)]+\\)(\\([0-9]+\\)\\(?:,\\([0-9]+\\)\\)?"
    ;; handle weird devenv output format with 4 numbers, not 2 by having 
optional
    ;; extra capture-groups.
-   "\\(?:,\\([0-9]+\\)\\)?*): "
+   "\\(?:,\\([0-9]+\\)\\)*): "
    "warning [[:alnum:]]+: .+$")
   "Regexp to match compilation warning from xbuild.")
 
diff --git a/csharp-mode.el b/csharp-mode.el
index b6abe94669..b11963b128 100644
--- a/csharp-mode.el
+++ b/csharp-mode.el
@@ -482,7 +482,7 @@ compilation and evaluation time conflicts."
      (save-excursion
        ;; 'new' should be part of the line
        (goto-char (c-point 'iopl))
-       (looking-at ".*\\s *new\\s *.*"))
+       (looking-at ".*new.*"))
      ;; Line should not already be terminated
      (save-excursion
        (goto-char (c-point 'eopl))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]