File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- version = " 2026.1.15 "
1+ version = " 2026.2.19 "
22upstream_repository = " https://github.com/mrabarnett/mrab-regex"
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ __all__ = [
1010 "finditer" ,
1111 "fullmatch" ,
1212 "match" ,
13+ "prefixmatch" ,
1314 "purge" ,
1415 "search" ,
1516 "split" ,
Original file line number Diff line number Diff 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
137141def 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 ],
You can’t perform that action at this time.
0 commit comments