Pārlūkot izejas kodu

Merge pull request #39454 from mrushyendra/regex_unicode

Enable Unicode support for RegEx class
Rémi Verschelde 5 gadi atpakaļ
vecāks
revīzija
1f3fa6e956
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      modules/regex/SCsub

+ 1 - 1
modules/regex/SCsub

@@ -7,7 +7,7 @@ env_regex = env_modules.Clone()
 
 if env["builtin_pcre2"]:
     thirdparty_dir = "#thirdparty/pcre2/src/"
-    thirdparty_flags = ["PCRE2_STATIC", "HAVE_CONFIG_H"]
+    thirdparty_flags = ["PCRE2_STATIC", "HAVE_CONFIG_H", "SUPPORT_UNICODE"]
 
     if env["builtin_pcre2_with_jit"]:
         thirdparty_flags.append("SUPPORT_JIT")