re — Regular expression operations — Python 3.16.0a0 documentation

docs.python.org

Tin mới

string.templatelib — Support for template string literals

difflib — Helpers for computing deltas

Python Module Index

3.16.0a0 Documentation

The Python Standard Library

Text Processing Services

Regular expression syntax¶

This module provides regular expression matching operations similar to those found in Perl.

Regular expression syntax¶

This module provides regular expression matching operations similar to those found in Perl.

Regular expression HOWTO

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 pa

unicodedata: Access the Unicode Database.

Matches any character with the given Unicode property (see Unicode Technical Standard #18, requirement RL1.2 “Properties”). Property and value names are matched loosely: case, whitespace, '-' and '_' are ignored. The fol

Regular expression syntax¶

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 pa

keyword-only parameters

Deprecated since version 3.13: Passing maxsplit and flags as positional arguments is deprecated. In future Python versions they will be keyword-only parameters.