diff --git a/renovate-config.json5 b/renovate-config.json5 index 2fb70834..b88c52f3 100644 --- a/renovate-config.json5 +++ b/renovate-config.json5 @@ -108,7 +108,7 @@ "customType": "regex", "managerFilePatterns": ["/(^|\/)rust-toolchain.toml$/"], "matchStrings": [ - "^channel[ \\t]*=[ \\t]*\"(?[^\"\\r\\n]+)\"[ \\t]*(?:$|\\r?\\n)", + "(?:^|\\r?\\n)channel[ \\t]*=[ \\t]*\"(?[^\"\\r\\n]+)\"[ \\t]*(?=$|\\r?\\n)", ], "datasourceTemplate": "github-tags", "depNameTemplate": "rust-lang/rust",