We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 14167e9 commit 78f085cCopy full SHA for 78f085c
1 file changed
Core/Sources/SuggestionWidget/SyntaxHighlighting.swift
@@ -115,7 +115,7 @@ func convertToCodeLines(
115
116
// use regex to replace all spaces to a middle dot
117
do {
118
- let regex = try NSRegularExpression(pattern: #"\s*"#, options: [])
+ let regex = try NSRegularExpression(pattern: "[ ]*", options: [])
119
let result = regex.matches(
120
in: mutable.string,
121
range: NSRange(location: 0, length: mutable.mutableString.length)
0 commit comments