From d671bd65ac85a1fbd162b683c541279130711ae8 Mon Sep 17 00:00:00 2001 From: omahs <73983677+omahs@users.noreply.github.com> Date: Tue, 5 Sep 2023 19:40:32 +0200 Subject: [PATCH] fix typos (#1703) --- CONTRIBUTING.md | 2 +- docs/1_INSTALLING.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 792fa40f..680f8375 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -65,7 +65,7 @@ Also pay attention to the following: - Match any but a guaranteed terminating character: `[^;]+`, for example to match the entire assigned value in `var a=b||c||func();`, `var .{1,2}=([^;]+);` - If you don't care about that part, just match a bunch of chars: `.{0,50}`, for example to extract the variable "b" in `createElement("div",{a:"foo",c:"bar"},b)`, `createElement\("div".{0,30},(.{1,2})\),`. Note the `.{0,30}`, this is essentially the same as `.+`, but safer as you can't end up accidently eating thousands of characters -- Additionally, as you might have noticed, all of the appove approaches use regex groups (`(...)`) to capture the variable name. You can then use those groups in your replacement to access those variables dynamically +- Additionally, as you might have noticed, all of the above approaches use regex groups (`(...)`) to capture the variable name. You can then use those groups in your replacement to access those variables dynamically #### "replace" diff --git a/docs/1_INSTALLING.md b/docs/1_INSTALLING.md index 6ea71607..d57e64e5 100644 --- a/docs/1_INSTALLING.md +++ b/docs/1_INSTALLING.md @@ -63,7 +63,7 @@ Then fully close Discord from your taskbar or task manager, and restart it. Venc If you're using Discord already, go into the `Updater` tab in settings. -Sometimes it may be neccessary to manually update if the GUI updater fails. +Sometimes it may be necessary to manually update if the GUI updater fails. To pull latest changes: