CiscoUcs / ucsmsdk

Python SDK for Cisco UCSM
Other
80 stars 60 forks source link

Improve regex expressions to avoid invalid escape sequence '\.' warings in python 3.12 #256

Closed JuanMontoyaP closed 2 weeks ago

JuanMontoyaP commented 1 month ago

When using python 3.12 the following warnings appeared because of the regex expressions: invalid escape sequence '\.' To avoid this warnings we should specify to python that the string is a regex expression putting an r before the expression. The following changes were applied: