Skip to content

Commit

Permalink
fix email regex
Browse files Browse the repository at this point in the history
  • Loading branch information
theWhiteWulfy committed Aug 9, 2024
1 parent 708582f commit f9111a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/custom/LeadForm.astro
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
spellcheck="false"
maxlength={511}
required
pattern="[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?"
pattern="[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:a-z0-9?\.)+a-z0-9?"
/>
</label>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/components/custom/NewsletterForm.astro
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
maxlength={511}
placeholder="This will remain private."
required
pattern="[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?"
pattern="[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:a-z0-9?\.)+a-z0-9?"
/>
</label>
</div>
Expand Down

0 comments on commit f9111a0

Please sign in to comment.