Home
DevCentral
Search
Configure Global Search
Log In
Transactions
D4112
Change Details
Change Details
Old
New
Diff
Fixes the following issue on Python 3.12+: ``` /usr/local/bin/shell:138: SyntaxWarning: invalid escape sequence '\|' matches = re.search("(.*)\|(.*)", variable) ```
This follow current Python style best practice when no escape is needed, and avoid a syntax warning when the string escapes a character only to be escaped for regexp, not for Python strings. Fixes the following issue on Python 3.12+: ``` /usr/local/bin/shell:138: SyntaxWarning: invalid escape sequence '\|' matches = re.search("(.*)\|(.*)", variable) ```
Fixes the following issue on Python 3.12+:
This follow current Python style best practice when no escape is needed, and avoid a syntax warning when the string escapes
a character only to be escaped for regexp, not for Python strings. Fixes the following issue on Python 3.12+:
``` /usr/local/bin/shell:138: SyntaxWarning: invalid escape sequence '\|' matches = re.search("(.*)\|(.*)", variable) ```
Continue