diff --git a/core/src/main/java/org/owasp/dependencycheck/analyzer/CarthageAnalyzer.java b/core/src/main/java/org/owasp/dependencycheck/analyzer/CarthageAnalyzer.java index b21e6b944f9..3ed1307fa2d 100644 --- a/core/src/main/java/org/owasp/dependencycheck/analyzer/CarthageAnalyzer.java +++ b/core/src/main/java/org/owasp/dependencycheck/analyzer/CarthageAnalyzer.java @@ -90,12 +90,14 @@ public class CarthageAnalyzer extends AbstractFileTypeAnalyzer { * dependency version. The version can be a commit ref, so we can't assume * it's a number * - * Example values: - binary "https://dl.google.com/geosdk/GoogleMaps.json" - * "7.2.0" - git "https://gitlab.matrix.org/matrix-org/olm.git" "3.2.16" - - * github "alinradut/SwiftEntryKit" - * "95f4a08f41ddcf2c02e2b22789038774c8c94df5"" - github - * "CocoaLumberjack/CocoaLumberjack" "3.8.5" - github "realm/realm-swift" - * "v10.44.0" + * Example values: + * */ private static final Pattern CARTFILE_RESOLVED_DEPENDENCY_PATTERN = Pattern.compile("(github|git|binary) \"([^\"]+)\" \"([^\"]+)\"");