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
c1cea208
Kaydet (Commit)
c1cea208
authored
Eki 28, 1998
tarafından
Andrew M. Kuchling
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Added URL to HOWTO page, with reference to Regex HOWTO.
Corrected error: {,5} is not equivalent to {0,5}.
üst
1d5f9884
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
libre.tex
Doc/lib/libre.tex
+6
-6
No files found.
Doc/lib/libre.tex
Dosyayı görüntüle @
c1cea208
...
...
@@ -50,8 +50,9 @@ details of the theory and implementation of regular expressions,
consult the Friedl book referenced below, or almost any textbook about
compiler construction.
A brief explanation of the format of regular expressions follows.
%For further information and a gentler presentation, consult XXX somewhere.
A brief explanation of the format of regular expressions follows. For
further information and a gentler presentation, consult the Regular
Expression HOWTO, accessible from
\url
{
http://www.python.org/doc/howto/
}
.
Regular expressions can contain both special and ordinary characters.
Most ordinary characters, like
\character
{
A
}
,
\character
{
a
}
, or
\character
{
0
}
,
...
...
@@ -109,10 +110,9 @@ expression will match only \code{'<H1>'}.
\item
[\code{\{\var{m},\var{n}\}}]
Causes the resulting RE to match from
\var
{
m
}
to
\var
{
n
}
repetitions of the preceding RE, attempting to
match as many repetitions as possible. For example,
\regexp
{
a
\{
3,5
\}
}
will match from 3 to 5
\character
{
a
}
characters. Omitting
\var
{
m
}
is the same
as specifying 0 for the lower bound; omitting
\var
{
n
}
specifies an
infinite upper bound.
match as many repetitions as possible. For example,
\regexp
{
a
\{
3,5
\}
}
will match from 3 to 5
\character
{
a
}
characters. Omitting
\var
{
n
}
specifies an infinite upper bound; you can't omit
\var
{
m
}
.
\item
[\code{\{\var{m},\var{n}\}?}]
Causes the resulting RE to
match from
\var
{
m
}
to
\var
{
n
}
repetitions of the preceding RE,
...
...
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