mirror of
https://github.com/python/cpython.git
synced 2025-11-01 10:45:30 +00:00
patch for re.sub bug, by AMK.
This commit is contained in:
parent
193338afeb
commit
816671c666
3 changed files with 7 additions and 6 deletions
|
|
@ -57,11 +57,13 @@ extern void (*pcre_free)(void *);
|
|||
|
||||
#ifdef FOR_PYTHON
|
||||
extern pcre *pcre_compile(const char *, int, const char **, int *, PyObject *);
|
||||
extern int pcre_exec(const pcre *, const pcre_extra *, const char *,
|
||||
int, int, int, int *, int);
|
||||
#else
|
||||
extern pcre *pcre_compile(const char *, int, const char **, int *);
|
||||
#endif
|
||||
extern int pcre_exec(const pcre *, const pcre_extra *, const char *,
|
||||
int, int, int *, int);
|
||||
#endif
|
||||
extern int pcre_info(const pcre *, int *, int *);
|
||||
extern pcre_extra *pcre_study(const pcre *, int, const char **);
|
||||
extern const char *pcre_version(void);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue