branch: elpa/yaml-mode commit 93dd95cdb1ed1587a06d76c859d83b42ad221c12 Author: Antal K <anta...@gmail.com> Commit: Antal K <anta...@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: #