summaryrefslogtreecommitdiff
path: root/pcreposix.c
diff options
context:
space:
mode:
authorph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2009-03-11 17:03:17 +0000
committerph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2009-03-11 17:03:17 +0000
commitb61d2d38ff08b09864d4ec957b65239e8b56b720 (patch)
tree3eeaa76a8f33510b93a030a293d6c3ff31ded71b /pcreposix.c
parentd79c34160d1de272d3b2d86f686be6b8ac4ab191 (diff)
downloadpcre-b61d2d38ff08b09864d4ec957b65239e8b56b720.tar.gz
Added REG_NOTEMPTY to the POSIX wrapper.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@388 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'pcreposix.c')
-rw-r--r--pcreposix.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/pcreposix.c b/pcreposix.c
index 4422316..fd63a6f 100644
--- a/pcreposix.c
+++ b/pcreposix.c
@@ -6,7 +6,7 @@
and semantics are as close as possible to those of the Perl 5 language.
Written by Philip Hazel
- Copyright (c) 1997-2008 University of Cambridge
+ Copyright (c) 1997-2009 University of Cambridge
-----------------------------------------------------------------------------
Redistribution and use in source and binary forms, with or without
@@ -274,6 +274,7 @@ BOOL nosub =
if ((eflags & REG_NOTBOL) != 0) options |= PCRE_NOTBOL;
if ((eflags & REG_NOTEOL) != 0) options |= PCRE_NOTEOL;
+if ((eflags & REG_NOTEMPTY) != 0) options |= PCRE_NOTEMPTY;
((regex_t *)preg)->re_erroffset = (size_t)(-1); /* Only has meaning after compile */