From 6a11216e53e18d50076ff035b5011abba8fe8385 Mon Sep 17 00:00:00 2001 From: Chris Putnam Date: Wed, 31 Aug 2022 07:12:03 -0400 Subject: [PATCH] Add missing [ for email regex --- p.typ | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/p.typ b/p.typ index cd1a9ef..1a7b2fe 100644 --- a/p.typ +++ b/p.typ @@ -508,7 +508,7 @@ S:// match a valid phone number :/^#?([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$/ : :// match an email - :/^(A-Za-z0-9_\.-]+)@([A-Za-z0-9_\.-]+)\.([A-Za-z\.]{2,6})$/ + :/^([A-Za-z0-9_\.-]+)@([A-Za-z0-9_\.-]+)\.([A-Za-z\.]{2,6})$/ : :// match a URL :/^(https?:\/\/)?([\da-z\.-]+)\.([a-z\.]{2,6})([\/\w \.-]*)*\/?$/