mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-04 14:38:49 +00:00
Add documentation on regex quote serialization
This commit is contained in:
1 parent
874190544d
commit
15faf20727
1 file changed
+1
-1
@@ -102,7 +102,7 @@ public final class CarbonSettings {
|
|||||||
private @Nullable String channelOnJoin = "";
|
private @Nullable String channelOnJoin = "";
|
||||||
|
|
||||||
@Setting
|
@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 =
|
private List<Pattern> itemLinkPatterns =
|
||||||
Collections.singletonList(Pattern.compile(Pattern.quote("[item]")));
|
Collections.singletonList(Pattern.compile(Pattern.quote("[item]")));
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user