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
a42c1785
Kaydet (Commit)
a42c1785
authored
Ara 09, 1997
tarafından
Guido van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Turn the table for flags into a nested itemized environment.
üst
c525e43b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
48 additions
and
42 deletions
+48
-42
libre.tex
Doc/lib/libre.tex
+24
-21
libre.tex
Doc/libre.tex
+24
-21
No files found.
Doc/lib/libre.tex
Dosyayı görüntüle @
a42c1785
...
...
@@ -271,36 +271,39 @@ The module defines the following functions and constants, and an exception:
\var
{
flags
}
value. Values can be any of the following variables,
combined using bitwise OR (the
\code
{
|
}
operator).
\begin{tableii}
{
|l|l|
}{
code
}{
Flag
}{
Meaning
}
\begin{itemize}
\item
[I ]
or IGNORECASE:
Perform case-insensitive matching; expressions like [A-Z] will match
lowercase letters, too.
\lineii
{
I or IGNORECASE
}{
Perform case-insensitive matching;
expressions like [A-Z] will match lowercase letters, too.
}
\item
[L ]
or LOCALE:
Make
\code
{
\e
w
}
,
\code
{
\e
W
}
,
\code
{
\e
b
}
,
\code
{
\e
B
}
, dependent on
the current locale.
\lineii
{
L or LOCALE
}{
Make
\code
{
\e
w
}
,
\code
{
\e
W
}
,
\code
{
\e
b
}
,
\code
{
\e
B
}
, dependent on the current locale.
}
\item
[M ]
or MULTILINE:
When specified, the pattern character
\code
{
\^
}
matches at the
beginning of the string and at the beginning of each line (immediately
following each newline); and the pattern character
\code
{
\$
}
matches
at the end of the string and at the end of each line (immediately
preceding each newline).
\lineii
{
M or MULTILINE
}{
When specified, the pattern character
\code
{
\^
}
matches at the beginning of the string and at the beginning of each
line (immediately following each newline); and the pattern character
\code
{
\$
}
matches at the end of the string and at the end of each line
(immediately preceding each newline).
By default,
\code
{
\^
}
matches only at the beginning of the string, and
\code
{
\$
}
only at the end of the string and immediately before the
newline (if any) at the end of the string.
}
\lineii
{
S or DOTALL
}{
Make the
\code
{
.
}
special character match a newline; without this flag,
\code
{
.
}
will match anything
\emph
{
except
}
a newline.
}
\item
[S ]
or DOTALL:
Make the
\code
{
.
}
special character match a newline; without this
flag,
\code
{
.
}
will match anything
\emph
{
except
}
a newline.
\lineii
{
X or VERBOSE
}{
When specified, whitespace within the pattern
string is ignored except when in a character class or preceded by an
unescaped backslash, and, when a line contains a
\code
{
\#
}
not in a
character class or preceded by an unescaped backslash, all characters
from the leftmost such
\code
{
\#
}
through the end of the line are
ignored.
}
\item
[X ]
or VERBOSE:
When specified, whitespace within the pattern string is ignored except
when in a character class or preceded by an unescaped backslash, and,
when a line contains a
\code
{
\#
}
not in a character class or preceded
by an unescaped backslash, all characters from the leftmost such
\code
{
\#
}
through the end of the line are ignored.
\end{
tableii
}
\end{
itemize
}
The sequence
%
...
...
Doc/libre.tex
Dosyayı görüntüle @
a42c1785
...
...
@@ -271,36 +271,39 @@ The module defines the following functions and constants, and an exception:
\var
{
flags
}
value. Values can be any of the following variables,
combined using bitwise OR (the
\code
{
|
}
operator).
\begin{tableii}
{
|l|l|
}{
code
}{
Flag
}{
Meaning
}
\begin{itemize}
\item
[I ]
or IGNORECASE:
Perform case-insensitive matching; expressions like [A-Z] will match
lowercase letters, too.
\lineii
{
I or IGNORECASE
}{
Perform case-insensitive matching;
expressions like [A-Z] will match lowercase letters, too.
}
\item
[L ]
or LOCALE:
Make
\code
{
\e
w
}
,
\code
{
\e
W
}
,
\code
{
\e
b
}
,
\code
{
\e
B
}
, dependent on
the current locale.
\lineii
{
L or LOCALE
}{
Make
\code
{
\e
w
}
,
\code
{
\e
W
}
,
\code
{
\e
b
}
,
\code
{
\e
B
}
, dependent on the current locale.
}
\item
[M ]
or MULTILINE:
When specified, the pattern character
\code
{
\^
}
matches at the
beginning of the string and at the beginning of each line (immediately
following each newline); and the pattern character
\code
{
\$
}
matches
at the end of the string and at the end of each line (immediately
preceding each newline).
\lineii
{
M or MULTILINE
}{
When specified, the pattern character
\code
{
\^
}
matches at the beginning of the string and at the beginning of each
line (immediately following each newline); and the pattern character
\code
{
\$
}
matches at the end of the string and at the end of each line
(immediately preceding each newline).
By default,
\code
{
\^
}
matches only at the beginning of the string, and
\code
{
\$
}
only at the end of the string and immediately before the
newline (if any) at the end of the string.
}
\lineii
{
S or DOTALL
}{
Make the
\code
{
.
}
special character match a newline; without this flag,
\code
{
.
}
will match anything
\emph
{
except
}
a newline.
}
\item
[S ]
or DOTALL:
Make the
\code
{
.
}
special character match a newline; without this
flag,
\code
{
.
}
will match anything
\emph
{
except
}
a newline.
\lineii
{
X or VERBOSE
}{
When specified, whitespace within the pattern
string is ignored except when in a character class or preceded by an
unescaped backslash, and, when a line contains a
\code
{
\#
}
not in a
character class or preceded by an unescaped backslash, all characters
from the leftmost such
\code
{
\#
}
through the end of the line are
ignored.
}
\item
[X ]
or VERBOSE:
When specified, whitespace within the pattern string is ignored except
when in a character class or preceded by an unescaped backslash, and,
when a line contains a
\code
{
\#
}
not in a character class or preceded
by an unescaped backslash, all characters from the leftmost such
\code
{
\#
}
through the end of the line are ignored.
\end{
tableii
}
\end{
itemize
}
The sequence
%
...
...
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