mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-04 20:45:49 +08:00
[regex] Update to 2026.2.19 (#15439)
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
version = "2026.1.15"
|
||||
version = "2026.2.19"
|
||||
upstream_repository = "https://github.com/mrabarnett/mrab-regex"
|
||||
|
||||
@@ -10,6 +10,7 @@ __all__ = [
|
||||
"finditer",
|
||||
"fullmatch",
|
||||
"match",
|
||||
"prefixmatch",
|
||||
"purge",
|
||||
"search",
|
||||
"split",
|
||||
|
||||
@@ -21,6 +21,7 @@ __all__ = [
|
||||
"finditer",
|
||||
"fullmatch",
|
||||
"match",
|
||||
"prefixmatch",
|
||||
"purge",
|
||||
"search",
|
||||
"split",
|
||||
@@ -133,6 +134,9 @@ def match(
|
||||
ignore_unused: bool = False,
|
||||
**kwargs: Any,
|
||||
) -> Match[bytes] | None: ...
|
||||
|
||||
prefixmatch = match
|
||||
|
||||
@overload
|
||||
def fullmatch(
|
||||
pattern: str | Pattern[str],
|
||||
@@ -434,6 +438,7 @@ class Pattern(Generic[AnyStr]):
|
||||
partial: bool = False,
|
||||
timeout: float | None = None,
|
||||
) -> Match[bytes] | None: ...
|
||||
prefixmatch = match
|
||||
@overload
|
||||
def fullmatch(
|
||||
self: Pattern[str],
|
||||
|
||||
Reference in New Issue
Block a user