Skip to content

Commit

Permalink
fix deprecation warning for regex (Azure#29635)
Browse files Browse the repository at this point in the history
  • Loading branch information
iscai-msft authored Mar 28, 2023
1 parent 241f355 commit ba0622e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/azure-sdk-tools/packaging_tools/multiapi_combiner.py
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ def serialize_client(self, async_mode: bool):
main_client_source = "class" + "class".join(split_main_client_source[1:])

client_initialization = strip_version_from_docs(
re.search(r"((?s).*?) @classmethod", main_client_source).group(1)
re.search(r"([\s\S]*?) @classmethod", main_client_source).group(1)
)

# TODO: switch to current file path
Expand Down

0 comments on commit ba0622e

Please sign in to comment.