[Bug libstdc++/98723] On Windows with CP936 encoding, regex compiles very slow.

jeroen at berkeley dot edu gcc-bugzilla@gcc.gnu.org
Sun May 29 11:13:57 GMT 2022


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98723

Jeroen Ooms <jeroen at berkeley dot edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jeroen at berkeley dot edu

--- Comment #6 from Jeroen Ooms <jeroen at berkeley dot edu> ---
This bug has become more problematic because it also affects any program
running under recent versions of Windows UCRT in UTF-8 locale[1], and therefore
all users of the R programming language.

The only solution right now seems to avoid std::rexex, e.g.:
https://github.com/tesseract-ocr/tesseract/issues/3830


[1]
https://docs.microsoft.com/en-us/windows/apps/design/globalizing/use-utf8-code-page


More information about the Gcc-bugs mailing list