|
|
|
@ -72,9 +72,9 @@ public class PowersParser {
@@ -72,9 +72,9 @@ public class PowersParser {
|
|
|
|
|
// Cleanup dangling tags and lines that contain a # and leading/trailing blank lines
|
|
|
|
|
|
|
|
|
|
powerString = new StringBuilder(powerString.toString().replaceAll("CONDITIONBEGINCONDITIONEND", "")); |
|
|
|
|
powerString = new StringBuilder(powerString.toString().replaceAll("(?m)^.*#.*\r?\n?", "")); |
|
|
|
|
powerString = new StringBuilder(powerString.toString().replaceAll("(?m)^[ \t]*\r?\n?", "")); |
|
|
|
|
|
|
|
|
|
conditionString = new StringBuilder(conditionString.toString().replaceAll("(?m)^.*#.*\r?\n?", "")); |
|
|
|
|
conditionString = new StringBuilder(conditionString.toString().replaceAll("(?m)^[ \t]*\r?\n?", "")); |
|
|
|
|
|
|
|
|
|
// Parse header line in power data
|
|
|
|
|
|
|
|
|
|