diff --git a/src/faebryk/tools/refactor.py b/src/faebryk/tools/refactor.py index aa4e7eb2..80e005b0 100644 --- a/src/faebryk/tools/refactor.py +++ b/src/faebryk/tools/refactor.py @@ -74,7 +74,7 @@ def refactor_file(path: Path): text = re.sub( rf"^\s*from faebryk.library.{sym} import \(\n\s*{sym},\n\)$", "", text ) - text = re.sub(rf"([^F][^.])\b{sym}\b", f"\1F.{sym}", text) + text = re.sub(rf"(?