From ee23914bdf0e35a438314dc1e61c9c76432686c5 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Tue, 18 Jul 2023 00:21:29 +0000 Subject: [PATCH] site deploy Auto-generated via {sandpaper} Source : 67068464a62e630b3f7e008ec7e93ad5cb62e913 Branch : md-outputs Author : GitHub Actions Time : 2023-07-03 15:50:00 +0000 Message : markdown source builds Auto-generated via {sandpaper} Source : f6b992a12c44e987bfa676b96e4fcd7d749ca5aa Branch : main Author : Shari Laster Time : 2023-07-03 15:48:35 +0000 Message : Merge pull request #211 from kevintfrench/main Replaced broken URL for a regex blog post with a link to a cross-posted version of the same post. --- 01-regular-expressions.html | 36 ++++---- 02-match-extract-strings.html | 30 +++---- 03-quiz.html | 26 +++--- 04-exercises.html | 22 ++--- 404.html | 4 +- CODE_OF_CONDUCT.html | 2 +- LICENSE.html | 2 +- aio.html | 110 +++++++++++------------ discuss.html | 2 +- images.html | 4 +- index.html | 4 +- instructor-notes.html | 4 +- instructor/01-regular-expressions.html | 36 ++++---- instructor/02-match-extract-strings.html | 30 +++---- instructor/03-quiz.html | 26 +++--- instructor/04-exercises.html | 22 ++--- instructor/404.html | 4 +- instructor/CODE_OF_CONDUCT.html | 2 +- instructor/LICENSE.html | 2 +- instructor/aio.html | 110 +++++++++++------------ instructor/discuss.html | 2 +- instructor/images.html | 4 +- instructor/index.html | 4 +- instructor/instructor-notes.html | 4 +- instructor/key-points.html | 4 +- instructor/profiles.html | 4 +- instructor/reference.html | 2 +- key-points.html | 4 +- pkgdown.yml | 2 +- profiles.html | 4 +- reference.html | 2 +- 31 files changed, 257 insertions(+), 257 deletions(-) diff --git a/01-regular-expressions.html b/01-regular-expressions.html index eb80475f..3aea4c5b 100644 --- a/01-regular-expressions.html +++ b/01-regular-expressions.html @@ -424,7 +424,7 @@

Show me the solution

-
+
organise
 organize
@@ -483,7 +483,7 @@ 

Show me the solution

-
+
organise
 Organize
@@ -519,7 +519,7 @@ 

Show me the solution

-
+
organiser
 Organized
@@ -555,7 +555,7 @@ 

Show me the solution

-
+
organise
 Organized
@@ -591,7 +591,7 @@ 

Show me the solution

-
+
organise
 Organized
@@ -627,7 +627,7 @@ 

Show me the solution

-
+
organisers
 Organizers
@@ -663,7 +663,7 @@ 

Show me the solution

-
+
organise
 Organi1e
@@ -724,7 +724,7 @@ 

Show me the solution

-
+
French
 France
@@ -760,7 +760,7 @@ 

Show me the solution

-
+
French
 France
@@ -794,7 +794,7 @@ 

Show me the solution

-
+
^France|^French

This will also find words where there were characters after @@ -823,7 +823,7 @@

Solutions

-
+
\b[Cc]olou?r\b|\bCOLOU?R\b
 /colou?r/i
@@ -865,7 +865,7 @@

Show me the solution

-
+
\bhead ?rest\b

Note that although \bhead\s?rest\b does work, it will @@ -896,7 +896,7 @@

Show me the solution

-
+
0+[A-Za-z]{4}\b
@@ -922,7 +922,7 @@

Show me the solution

-
+
\d{4}

Note: this will also match four-digit strings within longer strings @@ -950,7 +950,7 @@

Show me the solution

-
+
\b\d{2}-\d{2}-\d{4}\b

Depending on your data, you may choose to remove the word @@ -979,7 +979,7 @@

Show me the solution

-
+
\d{2}-\d{2}-\d{2,4}$

Note this will also find strings such as 31-01-198 at @@ -1011,7 +1011,7 @@

Show me the solution

-
+
.* ?: .*, \d{4}

Without word boundaries you will find that this matches any text you @@ -1096,7 +1096,7 @@

Keypoints