diff options
author | omahs <73983677+omahs@users.noreply.github.com> | 2023-09-05 19:40:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-05 19:40:32 +0200 |
commit | d671bd65ac85a1fbd162b683c541279130711ae8 (patch) | |
tree | 57800492a9c67c8da62ef29c2e876a18f9e675a1 /CONTRIBUTING.md | |
parent | 8e952c630bf65f86b85dd3a524e6f31dc4d0599e (diff) | |
download | Vencord-d671bd65ac85a1fbd162b683c541279130711ae8.tar.gz Vencord-d671bd65ac85a1fbd162b683c541279130711ae8.tar.bz2 Vencord-d671bd65ac85a1fbd162b683c541279130711ae8.zip |
fix typos (#1703)
Diffstat (limited to 'CONTRIBUTING.md')
-rw-r--r-- | CONTRIBUTING.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 792fa40..680f837 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" |