1. Georg Brandl
  2. pygments-main
  3. Issues
Issue #1314 new

DeprecationWarning with Python 3.6

Florian Bruhin
created an issue

When importing pygments with a Python 3.6 started with -Wall, I get:

.../site-packages/pygments/util.py:27: DeprecationWarning: Flags not at the start of the expression <(.+?)(\s.*?)?>.*?</ (truncated)
  tag_re = re.compile(r'<(.+?)(\s.*?)?>.*?</.+?>(?uism)')

Comments (0)

  1. Log in to comment