
Regular Expression HOWTO — Python 3.13.3 documentation
23 hours ago · Regular expressions (called REs, or regexes, or regex patterns) are essentially a tiny, highly specialized programming language embedded inside Python and made available through the re module. Using this little language, you specify the rules for the set of possible strings that you want to match; this set might contain English sentences, or e ...
re — Regular expression operations — Python 3.13.3 documentation
1 day ago · A regular expression (or RE) specifies a set of strings that matches it; the functions in this module let you check if a particular string matches a given regular expression (or if a given regular expression matches a particular string, which comes down to the same thing).
fnmatch — Unix filename pattern matching — Python 3.13.3 …
2 days ago · Test whether the filename string name matches the pattern string pat, returning True or False. Both parameters are case-normalized using os.path.normcase() . fnmatchcase() can be used to perform a case-sensitive comparison, regardless of whether that’s standard for the operating system.
7.2. re — 正则表达式操作 — Python 2.7.18 文档
Feb 7, 2018 · Regular expressions can be concatenated to form new regular expressions; if A and B are both regular expressions, then AB is also a regular expression. In general, if a string p matches A and another string q matches B, the string pq will match AB.
sched — Event scheduler — Python 3.12.10 documentation
Mar 12, 2010 · Scheduler Objects¶. scheduler instances have the following methods and attributes:. scheduler. enterabs (time, priority, action, argument = (), kwargs = {}) ¶ Schedule a new event. The time argument should be a numeric type compatible with the return value of the timefunc function passed to the constructor. Events scheduled for the same time will be executed in the order of their priority.