Skip to content
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

Unable parse ESQL file with ROW('ABCDEFGHIJKLMNOPQRSTUVWXYZ' AS "[A-Z]") #106

Closed
SergeyPugachyov opened this issue Dec 10, 2018 · 1 comment

Comments

@SergeyPugachyov
Copy link
Contributor

I have legacy code on my project, that's can't be analyzed because failing on parsing, for example:

        DECLARE STANDARD_CHARSET_RANGE CONSTANT ROW ROW(
            LIST {
                ROW('ABCDEFGHIJKLMNOPQRSTUVWXYZ' AS "[A-Z]"),
                ROW('abcdefghijklmnopqrstuvwxyz' AS "[a-z]"),
                ROW('АБВГДЕЁЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ' AS "[А-Я]"),
                ROW('абвгдеёжзийклмнопрстуфхцчшщъыьэюя' AS "[а-я]"),
                ROW('0123456789' AS "[0-9]")
            } AS ranges[]
        );

I tried to fix it, but can't

@ThomasPohl
Copy link
Member

Hi Sergey, thats almost the same as #104. I'll push the fix.

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

No branches or pull requests

2 participants