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
216c977b
Kaydet (Commit)
216c977b
authored
Eki 05, 2002
tarafından
Raymond Hettinger
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Backport 1.88 and 1.87:
Update docs to reflect that \b considers underscore to be part of a word.
üst
ad8f9d1a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
7 deletions
+11
-7
libre.tex
Doc/lib/libre.tex
+11
-7
No files found.
Doc/lib/libre.tex
Dosyayı görüntüle @
216c977b
...
...
@@ -331,13 +331,17 @@ escapes are treated as characters.
\item
[\code{\e b}]
Matches the empty string, but only at the
beginning or end of a word. A word is defined as a sequence of
alphanumeric characters, so the end of a word is indicated by
whitespace or a non-alphanumeric character. Inside a character range,
\regexp
{
\e
b
}
represents the backspace character, for compatibility with
Python's string literals.
\item
[\code{\e B}]
Matches the empty string, but only when it is
\emph
{
not
}
at the beginning or end of a word.
alphanumeric or underscore characters, so the end of a word is indicated by
whitespace or a non-alphanumeric, non-underscore character. Note that
{}
\code
{
\e
b
}
is defined as the boundary between
\code
{
\e
w
}
and
\code
{
\e
W
}
, so the precise set of characters deemed to be alphanumeric depends on the
values of the
\code
{
UNICODE
}
and
\code
{
LOCALE
}
flags. Inside a character
range,
\regexp
{
\e
b
}
represents the backspace character, for compatibility
with Python's string literals.
\item
[\code{\e B}]
Matches the empty string, but only when it is
\emph
{
not
}
at the beginning or end of a word. This is just the opposite of
{}
\code
{
\e
b
}
, so is also subject to the settings of
\code
{
LOCALE
}
and
\code
{
UNICODE
}
.
\item
[\code{\e d}]
Matches any decimal digit; this is
equivalent to the set
\regexp
{
[0-9]
}
.
...
...
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