From e628773ac09688a169558dc4c934c386526248a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Frederick=20Pe=C3=B1a=20Sims?= Date: Tue, 6 Feb 2024 00:02:09 +0100 Subject: [PATCH] Update 04-regex.Rmd In line 118, I added a c to "succintly" to correct the spelling ("succinctly") --- book/04-regex.Rmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/04-regex.Rmd b/book/04-regex.Rmd index 5156998..6dfb5b7 100644 --- a/book/04-regex.Rmd +++ b/book/04-regex.Rmd @@ -115,7 +115,7 @@ Be aware that you need to append `\\` in front of **any** special character in r ## The OR (`|`) operator -To make your regexp generic, you'll often want to match either one regexp or another. The `|` allows you to do it very succintly. Suppose we want to extract the century from the vector below. We can do it like this: +To make your regexp generic, you'll often want to match either one regexp or another. The `|` allows you to do it very succinctly. Suppose we want to extract the century from the vector below. We can do it like this: ```{r} borges_two_phrase <- c(