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

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

[nongnu] elpa/yaml-mode 93dd95c 051/124: remove regexp details from test


From: ELPA Syncer
Subject: [nongnu] elpa/yaml-mode 93dd95c 051/124: remove regexp details from test-file
Date: Sun, 29 Aug 2021 11:36:11 -0400 (EDT)

branch: elpa/yaml-mode
commit 93dd95cdb1ed1587a06d76c859d83b42ad221c12
Author: Antal K <antalk2@gmail.com>
Commit: Antal K <antalk2@gmail.com>

    remove regexp details from test-file
---
 test-files/test-dash-newline-starts-sequence.yaml | 16 ++--------------
 1 file changed, 2 insertions(+), 14 deletions(-)

diff --git a/test-files/test-dash-newline-starts-sequence.yaml 
b/test-files/test-dash-newline-starts-sequence.yaml
index c8de74a..3ae484b 100644
--- a/test-files/test-dash-newline-starts-sequence.yaml
+++ b/test-files/test-dash-newline-starts-sequence.yaml
@@ -8,23 +8,11 @@
 #
 # Note: in the line containing the dash ('-') there is no space character
 # after the dash, so it is not recognized as start of the sequence entry
-# by 
-#
-# (defconst yaml-nested-sequence-re
-#  (concat "^\\(?: *- +\\)+"
-#          "\\(?:" yaml-bare-scalar-re " *:\\(?: +.*\\)?\\)?$")
-#  "Regexp matching a line containing one or more nested YAML sequences.")
+# by yaml-nested-sequence-re
 #
 # Proposed change:
 #
-# Change yaml-bare-scalar-re to
-#
-# (defconst yaml-nested-sequence-re
-#  (concat "^\\(?:\\(?: *- +\\)+\\|\\(:?-$\\)\\)"
-#          "\\(?:" yaml-bare-scalar-re " *:\\(?: +.*\\)?\\)?$")
-#  "Regexp matching a line containing one or more nested YAML sequences.")
-#
-# The added alternative \\(:?-$\\) now recognizes the dash-newline sequence.
+# Change yaml-bare-scalar-re to recognize the dash-newline sequence.
 #
 # New behaviour:
 #



reply via email to

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