Regex updated to include spaces only in a line.

This commit is contained in:
MagicBot committed 2024-08-19 07:40:07 -04:00
1 parent 177917a8c8
commit 720b97dc69
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -55,7 +55,7 @@ public class EffectsParser {
// Remove all lines that contain a # and leading/trailing blank lines
effectData = effectData.replaceAll("(?m)^.*#.*\r?\n?", "");
effectData = effectData.replaceAll("(?m)^[ \t]*\r?\n?", "");
effectData = effectData.trim();
// Parse effect entry header