We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
regex
1 parent 2aeeb99 commit 2dfd166Copy full SHA for 2dfd166
Sources/PackageLoading/ToolsVersionLoader.swift
@@ -174,7 +174,7 @@ public class ToolsVersionLoader: ToolsVersionLoaderProtocol {
174
return (versionSpecifier, splitted.count == 1 ? [] : Array(splitted[1]))
175
}
176
177
- /// The regex to match swift tools version specification
+ /// The regex to match swift tools version specification.
178
/// - It should start with `//` followed by any amount of _horizontal_ whitespace characters.
179
/// - Following that it should contain the case insensitive string `swift-tools-version:`.
180
/// - The text between the above string and `;` or string end becomes the tools version specifier.
0 commit comments