{"record":{"id":"d0feea7d352b8fa5","repo":"astral-sh/ruff","slug":"invalid-dummy-variable-rgx-value-e","errorCode":null,"errorMessage":"Invalid `dummy-variable-rgx` value: {e}","messagePattern":"Invalid `dummy-variable-rgx` value: (.+?)","errorType":"validation","errorClass":"anyhow::Error","httpStatus":null,"severity":"error","filePath":"crates/ruff_workspace/src/configuration.rs","lineNumber":842,"sourceCode":"            preview: options.preview.map(PreviewMode::from),\n\n            rule_selections: vec![RuleSelection {\n                select: options.common.select,\n                ignore,\n                extend_select: options.common.extend_select.unwrap_or_default(),\n                fixable: options.common.fixable,\n                unfixable,\n                extend_fixable: options.common.extend_fixable.unwrap_or_default(),\n            }],\n            extend_safe_fixes: options.common.extend_safe_fixes.unwrap_or_default(),\n            extend_unsafe_fixes: options.common.extend_unsafe_fixes.unwrap_or_default(),\n            allowed_confusables: options.common.allowed_confusables,\n            dummy_variable_rgx: options\n                .common\n                .dummy_variable_rgx\n                .map(|pattern| Regex::new(&pattern))\n                .transpose()\n                .map_err(|e| anyhow!(\"Invalid `dummy-variable-rgx` value: {e}\"))?,\n            extend_per_file_ignores: options\n                .common\n                .extend_per_file_ignores\n                .map(|per_file_ignores| {\n                    per_file_ignores\n                        .into_iter()\n                        .map(|(pattern, prefixes)| {\n                            PerFileIgnore::new(pattern, prefixes, Some(project_root))\n                        })\n                        .collect()\n                })\n                .unwrap_or_default(),\n            external: options.common.external,\n            ignore_init_module_imports,\n            explicit_preview_rules: options.common.explicit_preview_rules,\n            per_file_ignores: options.common.per_file_ignores.map(|per_file_ignores| {\n                per_file_ignores\n                    .into_iter()","sourceCodeStart":824,"sourceCodeEnd":860,"githubUrl":"https://github.com/astral-sh/ruff/blob/672bb4edf04c84f8b0753346359daee4057158f2/crates/ruff_workspace/src/configuration.rs#L824-L860","documentation":"Error \"Invalid `dummy-variable-rgx` value: {e}\" thrown in astral-sh/ruff.","triggerScenarios":"Thrown at crates/ruff_workspace/src/configuration.rs:842 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"672bb4edf04c84f8b0753346359daee4057158f2","analyzedAt":"2026-08-16T08:54:05.464Z","schemaVersion":2},"datasetVersion":"2026-08-16T13:17:31.715Z"}