aboutsummaryrefslogtreecommitdiff
path: root/Hotline/Utility/RegularExpressions.swift
diff options
context:
space:
mode:
Diffstat (limited to 'Hotline/Utility/RegularExpressions.swift')
-rw-r--r--Hotline/Utility/RegularExpressions.swift6
1 files changed, 3 insertions, 3 deletions
diff --git a/Hotline/Utility/RegularExpressions.swift b/Hotline/Utility/RegularExpressions.swift
index c1f2a18..db705ae 100644
--- a/Hotline/Utility/RegularExpressions.swift
+++ b/Hotline/Utility/RegularExpressions.swift
@@ -20,7 +20,7 @@ struct RegularExpressions {
}
}
}
-
+
static let supportedLinkScheme = Regex {
Anchor.startOfLine
ChoiceOf {
@@ -30,7 +30,7 @@ struct RegularExpressions {
}
"://"
}.ignoresCase().anchorsMatchLineEndings()
-
+
static let relaxedLink = Regex {
ChoiceOf {
Anchor.startOfLine
@@ -138,7 +138,7 @@ struct RegularExpressions {
}
.anchorsMatchLineEndings()
.ignoresCase()
-
+
static let emailAddress = Regex {
ChoiceOf {
Anchor.startOfLine