Issue #1352 new

re.match causes re.MULTILINE to be a noop

Alan Hamlett
created an issue

A lot of lexers use re.match with re.M/re.MULTILINE, but re.M doesn't actually match start of lines unless used with re.search.

This is causing poor Lexer accuracy and probably some edge-case bugs.

Comments (1)

  1. Log in to comment