diff --git a/lib/app_sources/gitlab.dart b/lib/app_sources/gitlab.dart index b42b6b8..4f5c8c3 100644 --- a/lib/app_sources/gitlab.dart +++ b/lib/app_sources/gitlab.dart @@ -58,7 +58,7 @@ class GitLab extends AppSource { url = urlSegments.sublist(0, cutOffIndex <= 0 ? null : cutOffIndex).join('/'); RegExp standardUrlRegEx = RegExp( - '^https?://(www\\.)?${getSourceRegex(hosts)}/[^/]+(/[^/-]+){1,20}', + '^https?://(www\\.)?${getSourceRegex(hosts)}/[^/]+(/[^((\b/\b)|(\b/-/\b))]+){1,20}', caseSensitive: false); RegExpMatch? match = standardUrlRegEx.firstMatch(url); if (match == null) {