diff options
| author | Walker Selby <git@walkerselby.com> | 2023-12-23 01:39:32 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-23 02:39:32 +0100 |
| commit | 811cd333b67ba977b35c7ed72e5c290634305253 (patch) | |
| tree | 29052c969e2678e1d578a8c6b9465424a15a3477 | |
| parent | 19b6353591788bf0c34915da1f5e0dbcde72985b (diff) | |
| download | skyhanni-811cd333b67ba977b35c7ed72e5c290634305253.tar.gz skyhanni-811cd333b67ba977b35c7ed72e5c290634305253.tar.bz2 skyhanni-811cd333b67ba977b35c7ed72e5c290634305253.zip | |
Update Regex information (#825)
Update Contributing Regex information #825
| -rw-r--r-- | CONTRIBUTING.md | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index ad967170c..dc65dd6f4 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -73,7 +73,10 @@ 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. +- Do not use `toRegex()` or `toPattern()`, use `RepoPattern` instead. + - + See [RepoPattern.kt](https://github.com/walkerselby/SkyHanni/blob/beta/src/main/java/at/hannibal2/skyhanni/utils/repopatterns/RepoPattern.kt) + for more information and usages - Please use Regex instead of String comparison when it is likely Hypixel will change the message in the future. ## Software Used in SkyHanni |
