From 993253d4c7afdb12aea77676f06651b34b895fd8 Mon Sep 17 00:00:00 2001 From: Walker Selby Date: Wed, 6 Dec 2023 14:11:43 -0800 Subject: Docs: Contributing Regex Information (#711) --- CONTRIBUTING.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index fb5a7e1e6..ad967170c 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -73,6 +73,8 @@ You can write in the description of the pr the wording for the changelog as well - Don't forget to add `@FeatureToggle` to new standalone features (not options to that feature) in the config. - Do not use `e.printStackTrace()`, use `CopyErrorCommand.logError(e, "explanation for users")` instead. - Do not use `MinecraftForge.EVENT_BUS.post(event)`, use `event.postAndCatch()` instead. +- Do not use `toRegex()`, use `toPattern()` instead. +- Please use Regex instead of String comparison when it is likely Hypixel will change the message in the future. ## Software Used in SkyHanni -- cgit