From f97c2890c017aff88b2374345fe0b537707809ff Mon Sep 17 00:00:00 2001 From: Ximin han Date: Tue, 31 Jan 2023 17:56:10 +0800 Subject: [PATCH] not match slash characters (#723) --- doozerlib/olm/bundle.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doozerlib/olm/bundle.py b/doozerlib/olm/bundle.py index 1bdca8a93..43adbce43 100644 --- a/doozerlib/olm/bundle.py +++ b/doozerlib/olm/bundle.py @@ -393,7 +393,7 @@ def collect_replaced_image(match): return image new_contents = re.sub( - r'{}\/([^:]+):([^\'"\s]+)'.format(self.operator_csv_config['registry']), + r'{}\/([^:]+):([^\'"\\\s]+)'.format(self.operator_csv_config['registry']), collect_replaced_image, contents, flags=re.MULTILINE