Regex update
This commit is contained in:
1 parent
720b97dc69
commit
9ee2592ec7
2 files changed
+3
-3
No files matched your search
@@ -55,7 +55,7 @@ public class EffectsParser {
|
||||
|
||||
// Remove all lines that contain a # and leading/trailing blank lines
|
||||
|
||||
effectData = effectData.replaceAll("(?m)^[ \t]*\r?\n?", "");
|
||||
effectData = effectData.replaceAll("(?m)^(\\s*#.*|\\s*)\r?\n?", "");
|
||||
effectData = effectData.trim();
|
||||
|
||||
// Parse effect entry header
|
||||
|
||||
Reference in new issue
Block a user