aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/pcre/pcre_fullinfo.c
diff options
context:
space:
mode:
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;
}