From 241788d7512dc1331abf7c14012b85f7b4a0fc99 Mon Sep 17 00:00:00 2001 From: Isabelle Viktoria Maciohsek Date: Thu, 17 Nov 2022 08:46:27 +0200 Subject: [PATCH] Update common-regexp-cheatsheet.md --- blog_posts/common-regexp-cheatsheet.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blog_posts/common-regexp-cheatsheet.md b/blog_posts/common-regexp-cheatsheet.md index 64a659135..c6d501771 100644 --- a/blog_posts/common-regexp-cheatsheet.md +++ b/blog_posts/common-regexp-cheatsheet.md @@ -40,7 +40,7 @@ const regexp = /\s+/g; ### Match line breaks -- Depending on the environnment, line breaks can be represented in different ways. +- Depending on the environment, line breaks can be represented in different ways. - Use the `\r` character to match carriage returns, the `\n` character to match newlines, and the `\r\n` sequence to match carriage returns followed by newlines. - Add the global (`g`) and multiline (`m`) flags to match all occurrences of the pattern in the string.