Skip to content

re2: parse float/double args with locale-independent from_chars#646

Open
arib06 wants to merge 1 commit into
google:mainfrom
arib06:float-parse-from-chars
Open

re2: parse float/double args with locale-independent from_chars#646
arib06 wants to merge 1 commit into
google:mainfrom
arib06:float-parse-from-chars

Conversation

@arib06

@arib06 arib06 commented Jul 1, 2026

Copy link
Copy Markdown

parse float and double arguments with absl::from_chars instead of strtof/strtod so the radix character no longer follows the process LC_NUMERIC: under a comma-decimal locale a captured "1.5" now still parses as 1.5 (and "1,5" is rejected) rather than the reverse.

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.

1 participant