Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
557dea1c
Kaydet (Commit)
557dea1c
authored
Ara 22, 1997
tarafından
Guido van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
AMK's latest -- synchronized with PCRE 1.04.
üst
0148bbf9
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
2 deletions
+11
-2
pcre-int.h
Modules/pcre-int.h
+9
-1
pcre.h
Modules/pcre.h
+1
-0
pcremodule.c
Modules/pcremodule.c
+1
-1
pypcre.c
Modules/pypcre.c
+0
-0
No files found.
Modules/pcre-int.h
Dosyayı görüntüle @
557dea1c
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
*************************************************/
*************************************************/
#define PCRE_VERSION "1.0
2 1
2-Dec-1997"
#define PCRE_VERSION "1.0
4 2
2-Dec-1997"
/* This is a library of functions to support regular expressions whose syntax
/* This is a library of functions to support regular expressions whose syntax
...
@@ -39,6 +39,7 @@ modules, but which are not relevant to the outside. */
...
@@ -39,6 +39,7 @@ modules, but which are not relevant to the outside. */
define a macro for memmove() if USE_BCOPY is defined. */
define a macro for memmove() if USE_BCOPY is defined. */
#ifdef USE_BCOPY
#ifdef USE_BCOPY
#undef memmove
/* some systems may have a macro */
#define memmove(a, b, c) bcopy(b, a, c)
#define memmove(a, b, c) bcopy(b, a, c)
#endif
#endif
...
@@ -53,6 +54,13 @@ define a macro for memmove() if USE_BCOPY is defined. */
...
@@ -53,6 +54,13 @@ define a macro for memmove() if USE_BCOPY is defined. */
#include <string.h>
#include <string.h>
#include "pcre.h"
#include "pcre.h"
/* In case there is no definition of offsetof() provided - though any proper
Standard C system should have one. */
#ifndef offsetof
#define offsetof(p_type,field) ((size_t)&(((p_type *)0)->field))
#endif
/* Private options flags start at the most significant end of the two bytes.
/* Private options flags start at the most significant end of the two bytes.
The public options defined in pcre.h start at the least significant end. Make
The public options defined in pcre.h start at the least significant end. Make
sure they don't overlap! */
sure they don't overlap! */
...
...
Modules/pcre.h
Dosyayı görüntüle @
557dea1c
...
@@ -14,6 +14,7 @@
...
@@ -14,6 +14,7 @@
/* Have to include stdlib.h in order to ensure that size_t is defined;
/* Have to include stdlib.h in order to ensure that size_t is defined;
it is needed here for malloc. */
it is needed here for malloc. */
#include <sys/types.h>
#include <stdlib.h>
#include <stdlib.h>
/* Options */
/* Options */
...
...
Modules/pcremodule.c
Dosyayı görüntüle @
557dea1c
...
@@ -231,7 +231,7 @@ PyPcre_compile(self, args)
...
@@ -231,7 +231,7 @@ PyPcre_compile(self, args)
newpattern
[
j
++
]
=
'\0'
;
newpattern
[
j
++
]
=
'\0'
;
newpattern
[
j
++
]
=
'\0'
;
newpattern
[
j
++
]
=
'\0'
;
newpattern
[
j
++
]
=
'\0'
;
newpattern
[
j
++
]
=
'\0'
;
newpattern
[
j
]
=
'\0'
;
newpattern
[
j
]
=
'\0'
;
rv
->
regex
=
pcre_compile
((
char
*
)
newpattern
,
options
,
rv
->
regex
=
pcre_compile
((
char
*
)
newpattern
,
options
,
&
error
,
&
erroroffset
,
dictionary
);
&
error
,
&
erroroffset
,
dictionary
);
...
...
Modules/pypcre.c
Dosyayı görüntüle @
557dea1c
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment