File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -19,10 +19,10 @@ class Parser
1919 PATTERN_DECIMAL : new Pattern ' \\ d+'
2020 PATTERN_INDENT_SPACES : new Pattern ' ^ +'
2121 PATTERN_TRAILING_LINES : new Pattern ' (\n *)$'
22- PATTERN_YAML_HEADER : new Pattern ' ^\\ %YAML[: ][\\ d\\ .]+.*\n '
23- PATTERN_LEADING_COMMENTS : new Pattern ' ^(\\ #.*?\n )+'
24- PATTERN_DOCUMENT_MARKER_START : new Pattern ' ^\\ -\\ -\\ -.*?\n '
25- PATTERN_DOCUMENT_MARKER_END : new Pattern ' ^\\ .\\ .\\ .\\ s*$'
22+ PATTERN_YAML_HEADER : new Pattern ' ^\\ %YAML[: ][\\ d\\ .]+.*\n ' , ' m '
23+ PATTERN_LEADING_COMMENTS : new Pattern ' ^(\\ #.*?\n )+' , ' m '
24+ PATTERN_DOCUMENT_MARKER_START : new Pattern ' ^\\ -\\ -\\ -.*?\n ' , ' m '
25+ PATTERN_DOCUMENT_MARKER_END : new Pattern ' ^\\ .\\ .\\ .\\ s*$' , ' m '
2626 PATTERN_FOLDED_SCALAR_BY_INDENTATION : {}
2727
2828 # Context types
You can’t perform that action at this time.
0 commit comments