mirror of
https://github.com/metabolist/metatext.git
synced 2024-11-25 17:50:59 +00:00
Fix regex
This commit is contained in:
parent
451be82b1b
commit
e083dbc39b
1 changed files with 1 additions and 1 deletions
|
@ -200,7 +200,7 @@ public extension NewStatusViewModel {
|
|||
|
||||
private extension NewStatusViewModel {
|
||||
// swiftlint:disable:next force_try
|
||||
static let mentionsRegularExpression = try! NSRegularExpression(pattern: #"@\w+"#)
|
||||
static let mentionsRegularExpression = try! NSRegularExpression(pattern: #"@\S+"#)
|
||||
|
||||
func handle(event: CompositionViewModel.Event) {
|
||||
switch event {
|
||||
|
|
Loading…
Reference in a new issue