Add documentation on regex quote serialization

This commit is contained in:
Draycia committed 2020-10-18 03:30:53 -07:00
1 parent 874190544d
commit 15faf20727
1 file changed
+1 -1
@@ -102,7 +102,7 @@ public final class CarbonSettings {
private @Nullable String channelOnJoin = "";
@Setting
@Comment("The list of regex patterns to show items in chat")
@Comment("The list of regex patterns to show items in chat. '\\\\Q' and '\\\\E' just denote that the content isn't regex.")
private List<Pattern> itemLinkPatterns =
Collections.singletonList(Pattern.compile(Pattern.quote("[item]")));