Skip to content

Replace std::regex and fix reading negative values#14

Open
JanMarvin wants to merge 8 commits intovelofrog:masterfrom
JanMarvin:no_regex
Open

Replace std::regex and fix reading negative values#14
JanMarvin wants to merge 8 commits intovelofrog:masterfrom
JanMarvin:no_regex

Conversation

@JanMarvin
Copy link
Copy Markdown

@JanMarvin JanMarvin commented Feb 21, 2025

Hi @velofrog ,

Untested if this actually fixes the ASAN issue, but no ASAN docker around at the moment (was unable to reproduce the issue with rocker or wch's r-debug which still has gcc 12 iirc). Chances are that the ASAN issue was just a false positive, but I simply don't like std::regex it is slow and sometimes hangs forever.

Therefore this PR changes the following:

I'm not using the package, but have had a look while writing my own xlsb parser for openxlsx2 and came across CRANs archival note, while checking the reference in my "book". It would be a shame if the package will be lost.

# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
push:
branches: [main, master, no_regex]
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

no_regex is only required to trigger a build from my github fork

@JanMarvin JanMarvin changed the title Fix asan issues Replace std::regex and fix reading negative values Feb 22, 2025
The note is a bit annoying, but getting the correct cxx standard seems even more annoying
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.

Large negative numbers incorrectly read

1 participant