Device-Type-Library-Import icon indicating copy to clipboard operation
Device-Type-Library-Import copied to clipboard

Change regex string to raw string to avoid improper escape

Open dcode opened this issue 9 months ago • 0 comments

The regex string '\W+' causes a SyntaxWarning in Python 3.12 and later, since this is an invalid escape sequence. It will eventually become a SyntaxError in later versions. Changing this to a raw string will prevent it from being misinterpreted as an escape sequence.

Fixes #139

dcode avatar Jul 25 '25 16:07 dcode