From 3274d7c97d9ecd8bdc8113e48ed99754b4341277 Mon Sep 17 00:00:00 2001 From: James Brundage Date: Sun, 22 Sep 2024 05:34:04 +0000 Subject: [PATCH] fix: Generating .regex.txt files ( Fixes #235, Fixes #236 ) --- RegEx/EmailAddress.regex.txt | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/RegEx/EmailAddress.regex.txt b/RegEx/EmailAddress.regex.txt index bcd2c6f..b61ce96 100644 --- a/RegEx/EmailAddress.regex.txt +++ b/RegEx/EmailAddress.regex.txt @@ -1,10 +1,10 @@ -# Matches an Email Address -(?\w # Match the username, which starts with a word character -[\w\-\.]{0,} # and can contain any number of word characters, dashes, or dots -)\@ # Followed by an @ -(?\w # The domain starts with a word character -[\w\-]{0,} # and can contain any words with dashes, -(?:\. # followed by at least one suffix (which starts with a dot), -\w # followed by a word character, -[\w\-]{0,} # followed by any word characters or dashes -){1,}) +# Matches an Email Address +(?\w # Match the username, which starts with a word character +[\w\-\.]{0,} # and can contain any number of word characters, dashes, or dots +)\@ # Followed by an @ +(?\w # The domain starts with a word character +[\w\-]{0,} # and can contain any words with dashes, +(?:\. # followed by at least one suffix (which starts with a dot), +\w # followed by a word character, +[\w\-]{0,} # followed by any word characters or dashes +){1,})