wildcard matcher: quote replacement to prevent the matcher from replacing group references

This commit is contained in:
Adam
2020-11-09 11:54:14 -05:00
parent 51d105a30b
commit 811842ef2f
2 changed files with 2 additions and 1 deletions

View File

@@ -39,5 +39,6 @@ public class WildcardMatcherTest
assertFalse(matches("Abyssal whip", "Adamant dagger"));
assertTrue(matches("rune*", "Runeite Ore"));
assertTrue(matches("Abyssal whip", "Abyssal whip"));
assertTrue(matches("string $ with special character", "string $ with special character"));
}
}