aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWalker Selby <git@walkerselby.com>2023-12-06 14:11:43 -0800
committerGitHub <noreply@github.com>2023-12-06 23:11:43 +0100
commit993253d4c7afdb12aea77676f06651b34b895fd8 (patch)
treed86dd13dab9983746aa78bf4dfe60cfc6e408d76
parenteae1439aa84e1c4929f0c787a9c6327a72d493a5 (diff)
downloadskyhanni-993253d4c7afdb12aea77676f06651b34b895fd8.tar.gz
skyhanni-993253d4c7afdb12aea77676f06651b34b895fd8.tar.bz2
skyhanni-993253d4c7afdb12aea77676f06651b34b895fd8.zip
Docs: Contributing Regex Information (#711)
-rw-r--r--CONTRIBUTING.md2
1 files changed, 2 insertions, 0 deletions
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