summaryrefslogtreecommitdiffstats
path: root/thirdparty/pcre2/src/pcre2_chartables.c
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-03-11 14:02:39 +0100
committerRémi Verschelde <rverschelde@gmail.com>2024-03-11 14:02:39 +0100
commita2edcf83abb8fec7df11056a0d0ca423a3efee25 (patch)
tree901efdea6310996e379b7c5c6732269fb046a856 /thirdparty/pcre2/src/pcre2_chartables.c
parentbefc738b44fc05249cb81ee6563a44533bbea3c4 (diff)
parentdab95993c6c8ebd4fb439385a892dabda22698a2 (diff)
downloadredot-engine-a2edcf83abb8fec7df11056a0d0ca423a3efee25.tar.gz
Merge pull request #89371 from Chubercik/pcre2-10.43
pcre2: Update to 10.43
Diffstat (limited to 'thirdparty/pcre2/src/pcre2_chartables.c')
-rw-r--r--thirdparty/pcre2/src/pcre2_chartables.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/thirdparty/pcre2/src/pcre2_chartables.c b/thirdparty/pcre2/src/pcre2_chartables.c
index 861914d1ac..7362c3f234 100644
--- a/thirdparty/pcre2/src/pcre2_chartables.c
+++ b/thirdparty/pcre2/src/pcre2_chartables.c
@@ -5,7 +5,8 @@
/* This file was automatically written by the pcre2_dftables auxiliary
program. It contains character tables that are used when no external
tables are passed to PCRE2 by the application that calls it. The tables
-are used only for characters whose code values are less than 256. */
+are used only for characters whose code values are less than 256, and
+only relevant if not in UCP mode. */
/* This set of tables was written in the C locale. */
@@ -18,13 +19,6 @@ PCRE2 is configured with --enable-rebuild-chartables. However, you can run
pcre2_dftables manually with the -L option to build tables using the LC_ALL
locale. */
-/* The following #include is present because without it gcc 4.x may remove
-the array definition from the final binary if PCRE2 is built into a static
-library and dead code stripping is activated. This leads to link errors.
-Pulling in the header ensures that the array gets flagged as "someone
-outside this compilation unit might reference this" and so it will always
-be supplied to the linker. */
-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
@@ -163,7 +157,7 @@ graph, print, punct, and cntrl. Other classes are built from combinations. */
0x02 letter
0x04 lower case letter
0x08 decimal digit
- 0x10 alphanumeric or '_'
+ 0x10 word (alphanumeric or '_')
*/
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 0- 7 */