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
009ab92c
Kaydet (Commit)
009ab92c
authored
Şub 16, 1998
tarafından
Fred Drake
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Made the area for wildcards in the description wider, so we don't invade the
left margin.
üst
75fc045b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
12 deletions
+14
-12
libfnmatch.tex
Doc/lib/libfnmatch.tex
+7
-6
libfnmatch.tex
Doc/libfnmatch.tex
+7
-6
No files found.
Doc/lib/libfnmatch.tex
Dosyayı görüntüle @
009ab92c
...
@@ -4,18 +4,19 @@
...
@@ -4,18 +4,19 @@
This module provides support for
\UNIX
{}
shell-style wildcards, which
This module provides support for
\UNIX
{}
shell-style wildcards, which
are
\emph
{
not
}
the same as regular expressions (which are documented
are
\emph
{
not
}
the same as regular expressions (which are documented
in the
\
cod
e
{
re
}
\refstmodindex
{
re
}
module). The special characters
in the
\
modul
e
{
re
}
\refstmodindex
{
re
}
module). The special characters
used in shell-style wildcards are:
used in shell-style wildcards are:
\begin{itemize}
\begin{list}
{}{
\leftmargin
0.5in
\labelwidth
0.45in
}
\item
[\code{*}]
matches everything
\item
[\code{*}]
matches everything
\item
[\code{?}]
matches any single character
\item
[\code{?}]
matches any single character
\item
[\code{[}\var{seq}\code{]
}
] matches any character in
\var
{
seq
}
\item
[\code{[}\var{seq}\code{]
}
] matches any character in
\var
{
seq
}
\item
[\code{[!}\var{seq}\code{]
}
] matches any character not in
\var
{
seq
}
\item
[\code{[!}\var{seq}\code{]
}
] matches any character not in
\var
{
seq
}
\end{
itemize
}
\end{
list
}
Note that the filename separator (
\code
{
'/'
}
on
\UNIX
{}
) is
\emph
{
not
}
Note that the filename separator (
\code
{
'/'
}
on
\UNIX
{}
) is
\emph
{
not
}
special to this module. See module
\code
{
glob
}
\refstmodindex
{
glob
}
special to this module. See module
\code
{
glob
}
\refstmodindex
{
glob
}
for pathname expansion (
\
code
{
glob
}
uses
\code
{
fnmatch()
}
to
for pathname expansion (
\
module
{
glob
}
uses
\function
{
fnmatch()
}
to
match filename segments).
match filename segments).
\setindexsubitem
{
(in module fnmatch)
}
\setindexsubitem
{
(in module fnmatch)
}
...
@@ -26,7 +27,8 @@ string, returning true or false. If the operating system is
...
@@ -26,7 +27,8 @@ string, returning true or false. If the operating system is
case-insensitive, then both parameters will be normalized to all
case-insensitive, then both parameters will be normalized to all
lower- or upper-case before the comparision is performed. If you
lower- or upper-case before the comparision is performed. If you
require a case-sensitive comparision regardless of whether that's
require a case-sensitive comparision regardless of whether that's
standard for your operating system, use
\code
{
fnmatchcase()
}
instead.
standard for your operating system, use
\function
{
fnmatchcase()
}
instead.
\end{funcdesc}
\end{funcdesc}
\begin{funcdesc}
{
fnmatchcase
}{
filename, pattern
}
\begin{funcdesc}
{
fnmatchcase
}{
filename, pattern
}
...
@@ -35,6 +37,5 @@ false; the comparision is case-sensitive.
...
@@ -35,6 +37,5 @@ false; the comparision is case-sensitive.
\end{funcdesc}
\end{funcdesc}
\begin{seealso}
\begin{seealso}
\seemodule
{
glob
}{
Shell-style path expansion
}
\seemodule
{
glob
}{
Shell-style path expansion
}
\end{seealso}
\end{seealso}
Doc/libfnmatch.tex
Dosyayı görüntüle @
009ab92c
...
@@ -4,18 +4,19 @@
...
@@ -4,18 +4,19 @@
This module provides support for
\UNIX
{}
shell-style wildcards, which
This module provides support for
\UNIX
{}
shell-style wildcards, which
are
\emph
{
not
}
the same as regular expressions (which are documented
are
\emph
{
not
}
the same as regular expressions (which are documented
in the
\
cod
e
{
re
}
\refstmodindex
{
re
}
module). The special characters
in the
\
modul
e
{
re
}
\refstmodindex
{
re
}
module). The special characters
used in shell-style wildcards are:
used in shell-style wildcards are:
\begin{itemize}
\begin{list}
{}{
\leftmargin
0.5in
\labelwidth
0.45in
}
\item
[\code{*}]
matches everything
\item
[\code{*}]
matches everything
\item
[\code{?}]
matches any single character
\item
[\code{?}]
matches any single character
\item
[\code{[}\var{seq}\code{]
}
] matches any character in
\var
{
seq
}
\item
[\code{[}\var{seq}\code{]
}
] matches any character in
\var
{
seq
}
\item
[\code{[!}\var{seq}\code{]
}
] matches any character not in
\var
{
seq
}
\item
[\code{[!}\var{seq}\code{]
}
] matches any character not in
\var
{
seq
}
\end{
itemize
}
\end{
list
}
Note that the filename separator (
\code
{
'/'
}
on
\UNIX
{}
) is
\emph
{
not
}
Note that the filename separator (
\code
{
'/'
}
on
\UNIX
{}
) is
\emph
{
not
}
special to this module. See module
\code
{
glob
}
\refstmodindex
{
glob
}
special to this module. See module
\code
{
glob
}
\refstmodindex
{
glob
}
for pathname expansion (
\
code
{
glob
}
uses
\code
{
fnmatch()
}
to
for pathname expansion (
\
module
{
glob
}
uses
\function
{
fnmatch()
}
to
match filename segments).
match filename segments).
\setindexsubitem
{
(in module fnmatch)
}
\setindexsubitem
{
(in module fnmatch)
}
...
@@ -26,7 +27,8 @@ string, returning true or false. If the operating system is
...
@@ -26,7 +27,8 @@ string, returning true or false. If the operating system is
case-insensitive, then both parameters will be normalized to all
case-insensitive, then both parameters will be normalized to all
lower- or upper-case before the comparision is performed. If you
lower- or upper-case before the comparision is performed. If you
require a case-sensitive comparision regardless of whether that's
require a case-sensitive comparision regardless of whether that's
standard for your operating system, use
\code
{
fnmatchcase()
}
instead.
standard for your operating system, use
\function
{
fnmatchcase()
}
instead.
\end{funcdesc}
\end{funcdesc}
\begin{funcdesc}
{
fnmatchcase
}{
filename, pattern
}
\begin{funcdesc}
{
fnmatchcase
}{
filename, pattern
}
...
@@ -35,6 +37,5 @@ false; the comparision is case-sensitive.
...
@@ -35,6 +37,5 @@ false; the comparision is case-sensitive.
\end{funcdesc}
\end{funcdesc}
\begin{seealso}
\begin{seealso}
\seemodule
{
glob
}{
Shell-style path expansion
}
\seemodule
{
glob
}{
Shell-style path expansion
}
\end{seealso}
\end{seealso}
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