TurtleLexer doesn't accept indentifier with an underscore

Issue #1316 new
Ruben De Smet
created an issue

For example, rdf:_1 is an existing property in Turtle, but is not recognized by the TurtleLexer.

patterns['PrefixedName'] = r'%(PNAME_NS)s([a-z][\w-]*)' % patterns

should probably get an underscore somewhere. Bounced on this issue when using pygmentize through the LaTeX minted package for highlighting some .ttl files.

Comments (0)

  1. Log in to comment