aboutsummaryrefslogtreecommitdiff
path: root/Hotline/Utility/RegularExpressions.swift
diff options
context:
space:
mode:
authorRuben Beltran del Rio <git@r.bdr.sh>2025-02-05 22:27:17 +0100
committerRuben Beltran del Rio <git@r.bdr.sh>2025-02-05 22:27:17 +0100
commit45829daa856b376b1ab04d415917110b71b1dec5 (patch)
tree8e52daed6897b6f489d455736fe256cb9bd90fef /Hotline/Utility/RegularExpressions.swift
parent5c3ea897d062a47bc8cd6255fb8c36bad2f0733f (diff)
Apply formatting
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