We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently the grammar includes the following for unquoted strings used in list expressions:
UNQUOTED_STRING: /[a-z0-9_\-:]+/i UNQUOTED_STRING_SPACE: /[a-z0-9_\-: ]+/i
When accents are used these cannot parse as referred to in #92. For example:
EXPRESSION {Aérodrome,Aéroport,Héliport}
Note only allowing for accents within words within braces is an option. These will always be separated by commas, but the words can contain spaces.
A test (currently failing) test_unquoted_unicode_string has been created to test this.
Using the regex mentioned in lark-parser/lark#208 (WORD: /[^\W\d_]+/) works in Python3 but fails in Python27 with:
WORD: /[^\W\d_]+/
UnexpectedCharacters: No terminal defined for '\xe9' at line 3 col 20
The text was updated successfully, but these errors were encountered:
Added support for accented-latin in unquoted strings (Issue #96)
f5c6ec3
4bb1f1d
No branches or pull requests
Currently the grammar includes the following for unquoted strings used in list expressions:
When accents are used these cannot parse as referred to in #92. For example:
EXPRESSION {Aérodrome,Aéroport,Héliport}
Note only allowing for accents within words within braces is an option. These will always be separated by commas, but the words can contain spaces.
A test (currently failing) test_unquoted_unicode_string has been created to test this.
Using the regex mentioned in lark-parser/lark#208 (
WORD: /[^\W\d_]+/
) works in Python3 but fails in Python27 with:UnexpectedCharacters: No terminal defined for '\xe9' at line 3 col 20
The text was updated successfully, but these errors were encountered: