Skip to content

Fix SVG curve parameter extraction once more#864

Open
ferdiusa wants to merge 1 commit intotecnickcom:mainfrom
ferdiusa:patch-1
Open

Fix SVG curve parameter extraction once more#864
ferdiusa wants to merge 1 commit intotecnickcom:mainfrom
ferdiusa:patch-1

Conversation

@ferdiusa
Copy link
Copy Markdown

The switch from preg_match_all to preg_split in PR #855 broke parsing of "optimized" svg paths. In these, the "-" can be used as delimiter between numbers as well.

See Issue #767 for report by @tmhf.

The regular expression suggested in this PR reverts back to token based behaviour while keeping the fix for "e" exponents from the original issue.

The switch from `preg_match_all` to `preg_split` in PR tecnickcom#855 broke parsing of "optimized" svg paths. In these, the "-" can be used as delimiter between numbers as well.
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Apr 14, 2026

CLA assistant check
All committers have signed the CLA.

Copy link
Copy Markdown
Contributor

@williamdes williamdes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants