Needs group 0

This commit is contained in:
2024-08-14 16:46:02 -04:00
parent a48ff5851c
commit afb6d3e8a3
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -36,7 +36,7 @@ public class PowersParser {
while (matcher.find()) {
PowerEntry powerEntry = parsePowerEntry(matcher.group(1).trim());
PowerEntry powerEntry = parsePowerEntry(matcher.group().trim());
}
}
@@ -55,7 +55,7 @@ public class PowersParser {
Matcher matcher = STRSPLIT_REGEX.matcher(headerString);
while (matcher.find())
powerHeader.add(matcher.group(1).trim());
powerHeader.add(matcher.group().trim());
for (int x = 2; x < powerEntries.length; x++) {
// Parse key/pair values