We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python 3.12.3 (main, Sep 11 2024, 14:17:37) [GCC 13.2.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import adif /home/roschews/pyqso/pyqso/adif.py:272: SyntaxWarning: invalid escape sequence '\d' pattern = re.compile("<(.*?):(\d*).*?>([^<]+)")
I'm really not great at REGEX .... but should the \d be a \\d ??
\d
\\d
According to the google: Back in Python 3.6, using invalid escape sequences in string literals was deprecated (bpo-27364).
The text was updated successfully, but these errors were encountered:
I believe it would work to just preface the string with an 'r' to denote it as a raw string.
pattern = re.compile(r"<(.*?):(\d*).*?>([^<]+)")
Sorry, something went wrong.
👋🏻 I made a PR (which will probably not be merged- it looks like this project is loong abandoned) which fixes this problem.
I'll probably continue to work on changes in my fork: https://github.com/tomswartz07/pyqso
Thanks!
Successfully merging a pull request may close this issue.
I'm really not great at REGEX .... but should the
\d
be a\\d
??According to the google:
Back in Python 3.6, using invalid escape sequences in string literals was deprecated (bpo-27364).
The text was updated successfully, but these errors were encountered: