From 35822dbf5cc883e8957aa7a052d02d6eaea0d031 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20K=C3=B6rner?= <20133276+dazze1812@users.noreply.github.com> Date: Wed, 10 Jan 2024 16:38:10 +0100 Subject: [PATCH] Update lib/modules/manager/conan/extract.ts Co-authored-by: Michael Kriese --- lib/modules/manager/conan/extract.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/modules/manager/conan/extract.ts b/lib/modules/manager/conan/extract.ts index 7ba865ae2f9818..888520bdd15c0d 100644 --- a/lib/modules/manager/conan/extract.ts +++ b/lib/modules/manager/conan/extract.ts @@ -4,7 +4,7 @@ import type { PackageDependency, PackageFileContent } from '../types'; import { isComment } from './common'; const regex = regEx( - `(?[-_a-z0-9]+)/(?[^@\n{*"']+)(?@[-_a-zA-Z0-9]+(/[^#\n.{*"' ]+|))?#?(?[-_a-f0-9]+[^\n{*"'])?`, + `(?[-_a-z0-9]+)/(?[^@\n{*"']+)(?@[-_a-zA-Z0-9]+(?:/[^#\n.{*"' ]+|))?#?(?[-_a-f0-9]+[^\n{*"'])?`, ); function setDepType(content: string, originalType: string): string {