aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/pcre/pcre_fullinfo.c
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2017-03-27 14:39:49 +0200
committerRickard Green <[email protected]>2017-04-05 14:36:43 +0200
commit74f11bdee247626ed6a3afe558bde4989687e642 (patch)
treea4ca0966d941c35f94825a73d7191ea96f34d4f6 /erts/emulator/pcre/pcre_fullinfo.c
parenta748cafdc7063d9f181ba12088db6458793ced2f (diff)
downloadotp-74f11bdee247626ed6a3afe558bde4989687e642.tar.gz
otp-74f11bdee247626ed6a3afe558bde4989687e642.tar.bz2
otp-74f11bdee247626ed6a3afe558bde4989687e642.zip
Update PCRE to version 8.40
Diffstat (limited to 'erts/emulator/pcre/pcre_fullinfo.c')
-rw-r--r--erts/emulator/pcre/pcre_fullinfo.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/erts/emulator/pcre/pcre_fullinfo.c b/erts/emulator/pcre/pcre_fullinfo.c
index 1636c5978f..4e22430a1c 100644
--- a/erts/emulator/pcre/pcre_fullinfo.c
+++ b/erts/emulator/pcre/pcre_fullinfo.c
@@ -239,6 +239,10 @@ switch (what)
*((pcre_uint32 *)where) = re->limit_recursion;
break;
+ case PCRE_INFO_MATCH_EMPTY:
+ *((int *)where) = (re->flags & PCRE_MATCH_EMPTY) != 0;
+ break;
+
default: return PCRE_ERROR_BADOPTION;
}