Skip to content

Commit ba0622e

Browse files
authored
fix deprecation warning for regex (Azure#29635)
1 parent 241f355 commit ba0622e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/azure-sdk-tools/packaging_tools/multiapi_combiner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,7 @@ def serialize_client(self, async_mode: bool):
562562
main_client_source = "class" + "class".join(split_main_client_source[1:])
563563

564564
client_initialization = strip_version_from_docs(
565-
re.search(r"((?s).*?) @classmethod", main_client_source).group(1)
565+
re.search(r"([\s\S]*?) @classmethod", main_client_source).group(1)
566566
)
567567

568568
# TODO: switch to current file path

0 commit comments

Comments
 (0)