If the text variable contains blank lines like for example ending with a newline character or having two consecutive newline characters the fields dict is empty and DamagePattern fails with an Exception. This closes #124
used