Skip to content

Update maddy to simplify regexes, so VS2026 won't complain. - #488

Merged
fbergmann merged 2 commits into
developmentfrom
update-maddy
Sep 21, 2026
Merged

fbergmann merged 2 commits into
developmentfrom
update-maddy

Conversation

@luciansmith

Copy link
Copy Markdown
Member

A round-tripped notes from Biomodels 12 was causing maddy to run into throws from the regexes when compiled with VS2026 (not 2022, nor from any other compiler). The new regexes are simpler, and should work for more complicated strings, like the one found in biomodels 12. Added a test with the Cursed String.

A round-tripped notes from Biomodels 12 was causing maddy to run into throws from the regexes when compiled with VS2026 (not 2022, nor from any other compiler).  The new regexes are simpler, and should work for more complicated strings, like the one found in biomodels 12.
There are several biomodels with nonbreaking spaces: this stripping was removing the second byte of them.
@luciansmith

Copy link
Copy Markdown
Member Author

Also needed a different fix in html2md: it was stripping the second character of UTF-8 non-breaking spaces.

@fbergmann
fbergmann merged commit 7f07f03 into development Sep 21, 2026
35 checks passed
@fbergmann
fbergmann deleted the update-maddy branch September 21, 2026 08:50
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.

2 participants