The regex was eating everything up to the final closing paren, including from other svg transform commands when there are multiples, leading to args that were NaN values and causing an "Overload resolution failed" exception in Chrome/V8 when trying to call e.g. CanvasRenderingContext2D.scale() etc. Fix is to limit the regex to any non-closing paren char when parsing the transform command.
The regex was eating everything up to the final closing paren, including from other svg transform commands when there are multiples, leading to args that were NaN values and causing an "Overload resolution failed" exception in Chrome/V8 when trying to call e.g. CanvasRenderingContext2D.scale() etc. Fix is to limit the regex to any non-closing paren char when parsing the transform command.