This commit is contained in:
Trilarion
2020-04-16 20:21:14 +02:00
parent 48ade4bc0b
commit 1ca7c6c12d
10 changed files with 346 additions and 183 deletions

View File

@ -1,4 +1,4 @@
start: title description property+ _E note _E? building
start: title description property+ _E note? _E? building
title: "# " /(?! ).+(?<! )/ "\n" _E // not starting or ending with a space
@ -12,4 +12,4 @@ building: "## Building\n" _E property+ _E? note // the "building" section
note: /(?![\-#]).*\n/* // Unstructured text, not starting with - or #
_E: /^$\n/m // empty new line (filtered from tree)
_E: /^$\n/m // empty new line