Regex updated
This commit is contained in:
1 parent
69f3504ee9
commit
73eacc3779
1 file changed
+2
-1
@@ -45,9 +45,10 @@ public class EffectsParser {
|
||||
private static EffectEntry parseEffectEntry(String effectData) {
|
||||
EffectEntry effectEntry = new EffectEntry();
|
||||
|
||||
// Remove all lines that contain a #
|
||||
// Remove all lines that contain a # and leading/trailing blanks
|
||||
|
||||
effectData = effectData.replaceAll("(?m)^.*#.*\r?\n?", "");
|
||||
effectData = effectData.trim();
|
||||
|
||||
// Parse effect entry description
|
||||
|
||||
|
||||
Reference in new issue
Block a user