Conversion regex incorrect #7

Closed
opened 2026-06-09 21:08:07 +00:00 by jgeorgi · 2 comments
Owner

Regex fails when decimal are in old number.

New regex should be /(\[?)([\d\.]+)\s?,\s?([\d\.]+)(\]?)/ (also find better shortcut Alt+F3 seems to work).

Regex fails when decimal are in old number. New regex should be `/(\[?)([\d\.]+)\s?,\s?([\d\.]+)(\]?)/` (also find better shortcut Alt+F3 seems to work).
jgeorgi added the
bug
label 2026-06-09 21:08:07 +00:00
Author
Owner

Correction /(\[?)([\d\.]+)(,|(?:,\s)|\s)\D*([\d\.]+)(\]?)/ is even more general

Correction `/(\[?)([\d\.]+)(,|(?:,\s)|\s)\D*([\d\.]+)(\]?)/` is even more general
Author
Owner

Closed by: bb5235727a

Closed by: bb5235727a
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: jgeorgi/AnatImageViewer#7
No description provided.