style(TextHandler): fix re overload
This commit is contained in:
@@ -131,10 +131,10 @@ class TextHandler(str):
|
|||||||
def re(
|
def re(
|
||||||
self,
|
self,
|
||||||
regex: Union[str, Pattern[str]],
|
regex: Union[str, Pattern[str]],
|
||||||
|
check_match: Literal[True],
|
||||||
replace_entities: bool = True,
|
replace_entities: bool = True,
|
||||||
clean_match: bool = False,
|
clean_match: bool = False,
|
||||||
case_sensitive: bool = False,
|
case_sensitive: bool = False,
|
||||||
check_match: Literal[True] = True,
|
|
||||||
) -> bool:
|
) -> bool:
|
||||||
...
|
...
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user