Skip to content

Commit

Permalink
Schema: Don't fail if a map contains trailing or leading whitespace o…
Browse files Browse the repository at this point in the history
…n lines
  • Loading branch information
CelticMinstrel committed Oct 24, 2018
1 parent bc2054e commit 61ee9bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data/schema/game_config.cfg
Expand Up @@ -125,11 +125,11 @@
[type]
name="map_data"
[list]
split="\n"
split="\s*\n\s*"
[element]
[list]
[element]
value="([a-zA-Z0-9_]+\s+)?[A-Za-z\\|/\^_]+"
value="([a-zA-Z0-9_]+\s+)*[A-Za-z\\|/\^_]+"
[/element]
[/list]
[/element]
Expand Down

0 comments on commit 61ee9bc

Please sign in to comment.