Skip to content

Commit

Permalink
Allow === and --- in data.
Browse files Browse the repository at this point in the history
  • Loading branch information
ingydotnet committed Aug 4, 2014
1 parent 04ea483 commit 2788a84
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions testml.pgx
Expand Up @@ -204,8 +204,8 @@ lines-point:
point-lines: /(
(:
(!
block-marker |
point-marker
(: block-marker | point-marker )
SPACE WORD
)
line
)*
Expand Down
2 changes: 1 addition & 1 deletion testml.pgx.json
Expand Up @@ -457,7 +457,7 @@
]
},
"point_lines" : {
".rgx" : "((?:(?!===|\\-\\-\\-).*\\r?\\n)*)"
".rgx" : "((?:(?!(?:===|\\-\\-\\-)\\ \\w).*\\r?\\n)*)"
},
"point_marker" : {
".rgx" : "\\-\\-\\-"
Expand Down
2 changes: 1 addition & 1 deletion testml.pgx.yaml
Expand Up @@ -207,7 +207,7 @@ phrase_point:
- .rgx: \r?\n
- .rgx: (?:\#.*\r?\n|[\ \t]*\r?\n)*
point_lines:
.rgx: ((?:(?!===|\-\-\-).*\r?\n)*)
.rgx: ((?:(?!(?:===|\-\-\-)\ \w).*\r?\n)*)
point_marker:
.rgx: \-\-\-
point_name:
Expand Down

0 comments on commit 2788a84

Please sign in to comment.