diff --git a/regression/regression_test.go b/regression/regression_test.go
index 6e5252b..4787d87 100644
--- a/regression/regression_test.go
+++ b/regression/regression_test.go
@@ -101,21 +101,21 @@ func TestIndexExplosions_ShouldNotPanic(t *testing.T) {
}
p := &processor.RegexProcessor{}
- actual, mods, matches, err := p.ProcessContent(string(given), `LightComponent!anyrange="(!num)"`, "*4")
+ result, mods, matches, err := p.ProcessContent(string(given), `(?-s)LightComponent!anyrange="(!num)"`, "*4")
if err != nil {
t.Fatalf("Error processing content: %v", err)
}
- if matches != 1 {
- t.Errorf("Expected 1 match, got %d", matches)
+ if matches != 45 {
+ t.Errorf("Expected 45 match, got %d", matches)
}
- if mods != 1 {
- t.Errorf("Expected 1 modification, got %d", mods)
+ if mods != 45 {
+ t.Errorf("Expected 45 modification, got %d", mods)
}
- if string(actual) != string(expected) {
- t.Errorf("expected %s, got %s", expected, actual)
+ if string(result) != string(expected) {
+ t.Errorf("expected %s, got %s", expected, result)
}
}
diff --git a/testfiles/OutpostItemsExpected.xml b/testfiles/OutpostItemsExpected.xml
index fbb367f..071c018 100644
--- a/testfiles/OutpostItemsExpected.xml
+++ b/testfiles/OutpostItemsExpected.xml
@@ -9,7 +9,7 @@
-
-
+
@@ -85,7 +85,7 @@
-
-
+
@@ -200,7 +200,7 @@
-
-
+
@@ -248,11 +248,11 @@
-
-
+
-
-
+
-
@@ -272,11 +272,11 @@
-
-
+
Item name="" identifier="op_lamppost.png" width="149" height="347" scale="0.5" noninteractable="true" category="Decorative">
-
+
!-->
-
@@ -287,7 +287,7 @@
-
-
+
@@ -501,52 +501,52 @@
-
-
+
-
-
+
-
-
+
-
-
+
-
-
+
-
-
+
-
-
+
-
-
+
@@ -554,21 +554,21 @@
-
-
+
-
-
+
-
-
+
@@ -576,19 +576,19 @@
-
-
+
-
-
+
-
-
+
@@ -596,7 +596,7 @@
-
+
@@ -608,7 +608,7 @@
-
+
@@ -620,13 +620,13 @@
-
+
-
-
+
@@ -766,7 +766,7 @@
-
-
+
@@ -787,7 +787,7 @@
-
-
+
@@ -795,35 +795,35 @@
-
-
+
-
-
+
-
-
+
-
-
+
-
-
+
-
-
+
-
-
+
@@ -850,14 +850,14 @@
-
-
+
-
-
+
@@ -865,7 +865,7 @@
-
-
+
@@ -873,7 +873,7 @@
-
-
+
@@ -948,11 +948,11 @@
-
+
-
+
@@ -1073,11 +1073,11 @@
-
-
+
-
+