From 6d963949b5441a049b7064d8910ab5b15f7131da Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Fri, 6 Feb 2026 01:26:35 +0000 Subject: [PATCH] fix: resolve CI/CD issues and linting errors --- regex_humanizer/translator.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/regex_humanizer/translator.py b/regex_humanizer/translator.py index 830f55c..84a5728 100644 --- a/regex_humanizer/translator.py +++ b/regex_humanizer/translator.py @@ -1,6 +1,3 @@ -"""Translator for converting regex AST to human-readable English.""" - -from typing import Optional from .parser import ( RegexNode, NodeType, LiteralNode, CharacterClassNode, QuantifierNode, GroupNode, RegexParser @@ -282,7 +279,7 @@ class RegexTranslator: def _translate_backreference(self, node: RegexNode) -> str: """Translate a backreference.""" - return f"same as capture group \\\{node.raw}" + return f"same as capture group \\{node.raw}" def translate_regex(pattern: str, flavor: str = "pcre") -> str: