New issue

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

Deprecation warnings for grammar regular expressions #67

Closed
geographika opened this Issue Sep 25, 2018 · 1 comment

Comments

Projects
None yet
1 participant
@geographika
Owner

geographika commented Sep 25, 2018

See examples in https://api.travis-ci.org/v3/job/433072834/log.txt

/home/travis/build/geographika/mappyfile/.tox/py36/lib/python3.6/site-packages/lark/lexer.py:159: DeprecationWarning: Flags not at the start of the expression '(?P<CCOMMENT>\\/(?s)[' (truncated)

These fill up the logs causing:

The job exceeded the maximum log length, and has been terminated.

The flags in the grammar file need to be moved to the front of the string to correct this.

geographika added a commit that referenced this issue Oct 12, 2018

@geographika

This comment has been minimized.

Owner

geographika commented Oct 12, 2018

Fixed in 0.7.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment