From 6538486f035886743f996f28b61b52c1bfc8a661 Mon Sep 17 00:00:00 2001 From: manoss96 Date: Sun, 14 Aug 2022 09:52:14 +0300 Subject: [PATCH] fixed typo in README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 12de807..8ad8826 100644 --- a/README.md +++ b/README.md @@ -72,7 +72,7 @@ regex = pre.get_pattern() This is the pattern that we just built. Yikes! ``` -(?:https?:\/\/)?(?:(?:www\.)?([A-za-z\d][A-Za-z\d\-.]{1,61}[A-Za-z\d])\.(?:com|org)|(?:\d{1,3}\.){3}\d{1,3}:\d{4}) +(?:https?:\/\/)?(?:(?:www\.)?([A-Za-z\d][A-Za-z\d\-.]{1,61}[A-Za-z\d])\.(?:com|org)|(?:\d{1,3}\.){3}\d{1,3}:\d{4}) ``` Besides from having access to its underlying pattern, we can use a Pregex instance to find matches within a piece of text. Consider for example the following string: