mswart / pyopenmensa

Python wrapper and helper for openmensa api and feed
http://pyom.devtation.de/
GNU Lesser General Public License v3.0
9 stars 7 forks source link

Use r-strings for regular expression with back slashes #18

Open cvzi opened 10 months ago

cvzi commented 10 months ago

Because Python 3.12 raises errors like this one:

pyopenmensa/feed.py:16: SyntaxWarning: invalid escape sequence '\d'
  "\d{2}(\d{2})?-[01]?\d-[0-3]?\d|" +