t set
* Character classes ([:alnum:])
* Individual characters ([abc])
Signed-off-by: Luca Bacci
---
libstdc++-v3/include/bits/regex_compiler.tcc | 11 +++
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/libstdc++-v3/include/bits/regex_compiler.tcc
b/libstdc++-v3/include
This is both a performance optimization and a partial fix for
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98723.
This commit fixes the issue for bracket expressions that do not
depend on the locale's collation facet. Examples:
* Character ranges ([a-z]) when std::regex::collate is not set
* Ch
Please, scratch that. I have now sent an updated patch using git
send-email:
https://gcc.gnu.org/pipermail/gcc-patches/2024-November/668988.html
Sorry for the noise! :-)
Best regards,
Luca
Il giorno ven 15 nov 2024 alle ore 16:55 Luca Bacci
ha scritto:
> See https://gcc.gnu.org/bugzi
This is both a performance optimization and a partial fix for
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98723.
This commit fixes the issue for bracket expressions that are
not locale-dependant.
---
libstdc++-v3/include/bits/regex_compiler.tcc | 11 +++
1 file changed, 7 insertions(+),
See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98723
From bf651c78c6ad4fedd0fe6cec3d7953cbf0a4f03a Mon Sep 17 00:00:00 2001
From: Luca Bacci
Date: Fri, 15 Nov 2024 16:32:14 +0100
Subject: [PATCH] Avoid unneeded calls to regex_traits::transform_primary()
To: gcc-patches@gcc.gnu.org
This is both