Found while testing #3541
Steps to Reproduce:
- Open Macromolecules - Flex mode (clean canvas)
- Paste the following BILN string from the clipboard:
[D-2Thi]-[D-gGlu]-[Lys-al]
- Click
Open as New or Add to Canvas button
Actual Result:
System treats hyphens within the square brackets as monomer connections and loads 6 monomers with incorrect names instead of 3 monomers that contain hyphens in their names
Expected Result:
The system should correctly interpret monomer names containing hyphens and load three monomers with the names: D-2Thi, D-gGlu, and Lys-al

Found in Environment:
- Ketcher Version 3.17.0-rc.1 Build at 2026-06-02; 21:27:10
- Indigo Version 1.45.0-rc.2.0-g168fb85f2-wasm32-wasm-clang-23.0.0
- Chrome Version 149.0.7827.156 (Official Build) (64-bit)
- Win11
Found while testing #3541
Steps to Reproduce:
[D-2Thi]-[D-gGlu]-[Lys-al]Open as NeworAdd to CanvasbuttonActual Result:
System treats hyphens within the square brackets as monomer connections and loads 6 monomers with incorrect names instead of 3 monomers that contain hyphens in their names
Expected Result:

The system should correctly interpret monomer names containing hyphens and load three monomers with the names:
D-2Thi,D-gGlu, andLys-alFound in Environment: