Skip to content

Commit

Permalink
fix: Generating .regex.txt files ( Fixes #235, Fixes #236 )
Browse files Browse the repository at this point in the history
  • Loading branch information
James Brundage authored and James Brundage committed Sep 22, 2024
1 parent 06c489a commit 3274d7c
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions RegEx/EmailAddress.regex.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Matches an Email Address
(?<UserName>\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 @
(?<Domain>\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
(?<UserName>\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 @
(?<Domain>\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,})

0 comments on commit 3274d7c

Please sign in to comment.