Skip to content

Commit 7a610eb

Browse files
[regex] Update to 2026.2.19 (#15439)
1 parent 637ece0 commit 7a610eb

3 files changed

Lines changed: 7 additions & 1 deletion

File tree

stubs/regex/METADATA.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
version = "2026.1.15"
1+
version = "2026.2.19"
22
upstream_repository = "https://github.com/mrabarnett/mrab-regex"

stubs/regex/regex/__init__.pyi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ __all__ = [
1010
"finditer",
1111
"fullmatch",
1212
"match",
13+
"prefixmatch",
1314
"purge",
1415
"search",
1516
"split",

stubs/regex/regex/_main.pyi

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ __all__ = [
2121
"finditer",
2222
"fullmatch",
2323
"match",
24+
"prefixmatch",
2425
"purge",
2526
"search",
2627
"split",
@@ -133,6 +134,9 @@ def match(
133134
ignore_unused: bool = False,
134135
**kwargs: Any,
135136
) -> Match[bytes] | None: ...
137+
138+
prefixmatch = match
139+
136140
@overload
137141
def fullmatch(
138142
pattern: str | Pattern[str],
@@ -434,6 +438,7 @@ class Pattern(Generic[AnyStr]):
434438
partial: bool = False,
435439
timeout: float | None = None,
436440
) -> Match[bytes] | None: ...
441+
prefixmatch = match
437442
@overload
438443
def fullmatch(
439444
self: Pattern[str],

0 commit comments

Comments
 (0)