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 2a029a7 commit 8077e22Copy full SHA for 8077e22
1 file changed
Doc/library/pathlib.rst
@@ -1661,9 +1661,12 @@ The following wildcards are supported in patterns for
1661
``?``
1662
Matches one non-separator character.
1663
``[seq]``
1664
- Matches one character in *seq*.
+ Matches one character in *seq*, where *seq* is a sequence of characters.
1665
+ Range expressions are supported; for example, ``[a-z]`` matches any lowercase ASCII letter.
1666
+ Multiple ranges can be combined: ``[a-zA-Z0-9_]`` matches any ASCII letter, digit, or underscore.
1667
+
1668
``[!seq]``
- Matches one character not in *seq*.
1669
+ Matches one character not in *seq*, where *seq* follows the same rules as above.
1670
1671
For a literal match, wrap the meta-characters in brackets.
1672
For example, ``"[?]"`` matches the character ``"?"``.
0 commit comments