From 691709200208f0a637fce643bd4a6cdf52085098 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jordi=20S=C3=A1nchez?=
<60137213+jordisz@users.noreply.github.com>
Date: Thu, 9 Jun 2022 11:32:53 +0200
Subject: [PATCH] Typos
---
_posts/detail/2012-07-01-regex.html | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/_posts/detail/2012-07-01-regex.html b/_posts/detail/2012-07-01-regex.html
index 7764f99..4a3cb4b 100755
--- a/_posts/detail/2012-07-01-regex.html
+++ b/_posts/detail/2012-07-01-regex.html
@@ -7,7 +7,7 @@
Anchors
-
Anchros
+
Anchors
- ^
- Start of string, or start of line in multi-line pattern
@@ -72,7 +72,7 @@ Character Classes
- \W
- Not word
- \x
- - Hexade-cimal digit
+ - Hexadecimal digit
- \O
- Octal digit
@@ -166,9 +166,9 @@
POSIX
[:digit:]
Digits
[:xdigit:]
-
Hexade-cimal digits
+
Hexadecimal digits
[:punct:]
-
Punctu-ation
+
Punctuation
[:blank:]
Space and tab
[:space:]
@@ -197,7 +197,7 @@
Groups and Ranges
(...)
Group
(?:...)
-
Passive (non-c-apt-uring) group
+
Passive (non-capturing) group
[abc]
Range (a or b or c)
[^abc]
@@ -222,7 +222,7 @@
Modifiers
g
Global match
i
-
Case-i-nse-nsitive
+
Case-insensitive
m
Multiple lines
s
@@ -230,7 +230,7 @@
Modifiers
x
Allow comments and white space in pattern
e
-
Evaluate replac-ement
+
Evaluate replacement
U
Ungreedy pattern
@@ -243,7 +243,7 @@
String
Replacement
- $n
- - nth non-pa-ssive group
+ - nth non-passive group
- $2
- "-xyz-" in /^(abc-(xy-z))$/
- $1
@@ -274,7 +274,7 @@ Assertions
- ?!= or ?<!
- Negative lookbehind
- ?>
- - Once-only Subexp-ression
+ - Once-only Subexpression
- ?()
- Condition [if then]
- ?()|