Pelokalan
Python ID
id en
Masuk
Proyek
library__glob.po Berkas proyek · python-docs-id-3.14 · Bahasa Indonesia
Modul PO Hanya lihat
Teks sumber — English
Terjemahan — Bahasa Indonesia
For a literal match, wrap the meta-characters in brackets. For example, ``'[?]'`` matches the character ``'?'``.
Untuk mencocokan literal, bungkus karakter meta dalam tanda kurung. Misalnya, ``'[?]'`` cocok dengan karakter ``'?'``.
Escape all special characters (``'?'``, ``'*'`` and ``'['``). This is useful if you want to match an arbitrary literal string that may have special characters in it. Special characters in drive/UNC sharepoints are not escaped, for example on Windows ``escape('//?/c:/Quo vadis?.txt')`` returns ``'//?/c:/Quo vadis[?].txt'``.
For example:
Sebagai contoh:
If the directory contains files starting with ``.`` they won't be matched by default. For example, consider a directory containing :file:`card.gif` and :file:`.card.gif`::
Jika direktori berisi file yang dimulai dengan ``.`` mereka tidak akan dicocokkan secara default. Misalnya, pertimbangkan direktori yang berisi :file:`card.gif` dan :file:`.card.gif` ::