mirror of
https://github.com/python/cpython.git
synced 2025-07-16 07:45:20 +00:00
AMK's revised version of the previous patch.
This commit is contained in:
parent
0ef1b079a2
commit
dda6696be6
3 changed files with 29 additions and 11 deletions
|
@ -3,7 +3,7 @@
|
|||
*************************************************/
|
||||
|
||||
|
||||
#define PCRE_VERSION "1.07 16-Feb-1998"
|
||||
#define PCRE_VERSION "1.09 28-Apr-1998"
|
||||
|
||||
|
||||
/* This is a library of functions to support regular expressions whose syntax
|
||||
|
@ -80,11 +80,12 @@ only some permitted at run or study time. */
|
|||
#ifdef FOR_PYTHON
|
||||
#define PUBLIC_OPTIONS \
|
||||
(PCRE_CASELESS|PCRE_EXTENDED|PCRE_ANCHORED|PCRE_MULTILINE| \
|
||||
PCRE_DOTALL|PCRE_DOLLAR_ENDONLY|PCRE_EXTRA|PCRE_LOCALE)
|
||||
PCRE_DOTALL|PCRE_DOLLAR_ENDONLY|PCRE_EXTRA|PCRE_UNGREEDY| \
|
||||
PCRE_LOCALE)
|
||||
#else
|
||||
#define PUBLIC_OPTIONS \
|
||||
(PCRE_CASELESS|PCRE_EXTENDED|PCRE_ANCHORED|PCRE_MULTILINE| \
|
||||
PCRE_DOTALL|PCRE_DOLLAR_ENDONLY|PCRE_EXTRA)
|
||||
PCRE_DOTALL|PCRE_DOLLAR_ENDONLY|PCRE_EXTRA|PCRE_UNGREEDY)
|
||||
#endif
|
||||
#define PUBLIC_EXEC_OPTIONS \
|
||||
(PCRE_CASELESS|PCRE_ANCHORED|PCRE_MULTILINE|PCRE_NOTBOL|PCRE_NOTEOL| \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue