Leaklens

sympy__sympy-20916

pprint unicode does not format subscripts on Greek letters

Verdict: the issue points to the file or function that was changed (Tier B).

It looks like there is a regular expression in sympy/printing/conventions.py that assumes that the letter parts of symbol names are ASCII letters. It is using `[a-zA-Z]` but it should be using `\w` so that it matches Unicode word characters.

The two checks disagreed (stated fix vs. points to it); the lower reading shown: “It looks like there is a regular expression in sympy/printing/conventions.py that assumes that the letter parts of symbol names are ASCII letters. It…”

All SWE-bench Verified tasks · more sympy/sympy tasks · How the check works