diff options
| -rw-r--r-- | Hotline/Hotline/HotlineClient.swift | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Hotline/Hotline/HotlineClient.swift b/Hotline/Hotline/HotlineClient.swift index 1eb7719..c325fb7 100644 --- a/Hotline/Hotline/HotlineClient.swift +++ b/Hotline/Hotline/HotlineClient.swift @@ -21,7 +21,7 @@ struct HotlineChat: Identifiable { let username: String let type: HotlineChatType - static let parser = /\s+(.+):\s+(.*)/ + static let parser = /^\s*([^\:]+)\:\s*(.*)/ init(text: String, type: HotlineChatType = .message) { self.type = type |