fix: restore property-position regex for RefDes/Value placement

cacb27b omitted the closing parenthesis anchor in _extract_lib_property_positions, leaving lib_props empty and falling back to generic resistor positions.
This commit is contained in:
ka ru
2026-05-26 19:50:59 +02:00
parent 5a9790301e
commit 2ced6764b0

View File

@@ -477,7 +477,7 @@ class DynamicSymbolLoader:
# Iterate over every top-level (property ...) block in the symbol
search_pos = 0
while True:
m = re.search(r'\(property\s+"([^"]+)"\s+"[^"]*"\s+\(at\s+([-\d.]+)\s+([-\d.]+)\s+([-\d.]+))',
m = re.search(r'\(property\s+"([^"]+)"\s+"[^"]*"\s+\(at\s+([-\d.]+)\s+([-\d.]+)\s+([-\d.]+)\)',
sym_block[search_pos:])
if not m:
break