From b4ee064b539958f6a13bc9554758a106a49f4bd6 Mon Sep 17 00:00:00 2001 From: Rickard Green Date: Wed, 22 May 2019 17:51:42 +0200 Subject: Yield when validating UTF8 for long subject in re:run() --- erts/emulator/pcre/pcre.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'erts/emulator/pcre/pcre.h') diff --git a/erts/emulator/pcre/pcre.h b/erts/emulator/pcre/pcre.h index ab8f40cfc1..686925bf04 100644 --- a/erts/emulator/pcre/pcre.h +++ b/erts/emulator/pcre/pcre.h @@ -240,6 +240,9 @@ with J. */ #define PCRE_UTF8_ERR20 20 #define PCRE_UTF8_ERR21 21 #define PCRE_UTF8_ERR22 22 /* Unused (was non-character) */ +#if defined(ERLANG_INTEGRATION) +#define PCRE_UTF8_YIELD 23 +#endif /* Specific error codes for UTF-16 validity checks */ -- cgit v1.2.3