Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
seq
1 parent 2d00484 commit c8dcde4Copy full SHA for c8dcde4
1 file changed
Doc/library/pathlib.rst
@@ -1781,9 +1781,12 @@ The following wildcards are supported in patterns for
1781
``?``
1782
Matches one non-separator character.
1783
``[seq]``
1784
- Matches one character in *seq*.
+ Matches one character in *seq*, where *seq* is a sequence of characters.
1785
+ Range expressions are supported; for example, ``[a-z]`` matches any lowercase ASCII letter.
1786
+ Multiple ranges can be combined: ``[a-zA-Z0-9_]`` matches any ASCII letter, digit, or underscore.
1787
+
1788
``[!seq]``
- Matches one character not in *seq*.
1789
+ Matches one character not in *seq*, where *seq* follows the same rules as above.
1790
1791
For a literal match, wrap the meta-characters in brackets.
1792
For example, ``"[?]"`` matches the character ``"?"``.
0 commit comments