branch: externals/yaml
commit 3381a5d2f739b35cbc75827bec7003e5c0e9f296
Merge: e787dd06c6 4a3243a2be
Author: Zachary Romero <zacrom...@posteo.net>
Commit: GitHub <nore...@github.com>

    Merge pull request #43 from kisaragi-hiu/fix/regexp-missing-escape
    
    yaml--the-end: fix incorrect regexp
---
 yaml.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/yaml.el b/yaml.el
index 0c17aca32c..4a2d73e328 100644
--- a/yaml.el
+++ b/yaml.el
@@ -932,7 +932,7 @@ This is currently unimplemented."
       (and (yaml--state-curr-doc)
            (yaml--start-of-line)
            (string-match
-            "\\^g(?:---|\\.\\.\\.\\)\\([[:blank:]]\\|$\\)"
+            "\\^g\\(?:---|\\.\\.\\.\\)\\([[:blank:]]\\|$\\)"
             (substring yaml--parsing-input yaml--parsing-position)))))
 
 (defun yaml--ord (f)

Reply via email to