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
e59d3f8a
Kaydet (Commit)
e59d3f8a
authored
Ara 02, 1997
tarafından
Guido van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Small bugfixes for broken old style use of the syntax table. AMK, of
course.
üst
f259a8e5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
regexpr.c
Modules/regexpr.c
+6
-6
No files found.
Modules/regexpr.c
Dosyayı görüntüle @
e59d3f8a
...
...
@@ -611,7 +611,7 @@ static void re_compile_fastmap_aux(code,
{
syntaxcode
=
code
[
pos
++
];
for
(
a
=
0
;
a
<
256
;
a
++
)
if
(
SYNTAX
(
a
)
==
syntaxcode
)
if
(
SYNTAX
(
a
)
&
syntaxcode
)
fastmap
[
a
]
=
1
;
return
;
}
...
...
@@ -619,7 +619,7 @@ static void re_compile_fastmap_aux(code,
{
syntaxcode
=
code
[
pos
++
];
for
(
a
=
0
;
a
<
256
;
a
++
)
if
(
SYNTAX
(
a
)
!=
syntaxcode
)
if
(
!
(
SYNTAX
(
a
)
&
syntaxcode
)
)
fastmap
[
a
]
=
1
;
return
;
}
...
...
@@ -1866,12 +1866,12 @@ int re_match(bufp,
if
(
translate
)
{
while
(
text
<
textend
&&
translate
[
SYNTAX
(
*
text
)]
==
a
)
(
SYNTAX
(
translate
[
*
text
])
&
a
)
)
text
++
;
}
else
{
while
(
text
<
textend
&&
SYNTAX
(
*
text
)
==
a
)
while
(
text
<
textend
&&
(
SYNTAX
(
*
text
)
&
a
)
)
text
++
;
}
break
;
...
...
@@ -1882,12 +1882,12 @@ int re_match(bufp,
if
(
translate
)
{
while
(
text
<
textend
&&
translate
[
SYNTAX
(
*
text
)]
!=
a
)
!
(
SYNTAX
(
translate
[
*
text
])
&
a
)
)
text
++
;
}
else
{
while
(
text
<
textend
&&
SYNTAX
(
*
text
)
!=
a
)
while
(
text
<
textend
&&
!
(
SYNTAX
(
*
text
)
&
a
)
)
text
++
;
}
break
;
...
...
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