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

Syntax highlighting breaks on regular expression #1625

Open
dragonlobster opened this issue Dec 28, 2023 · 0 comments
Open

Syntax highlighting breaks on regular expression #1625

dragonlobster opened this issue Dec 28, 2023 · 0 comments

Comments

@dragonlobster
Copy link

dragonlobster commented Dec 28, 2023

Dataform GCP syntax highlighting is very buggy and problematic. Just one simple example, it breaks the moment you add any regular expression:

select REGEXP_REPLACE(JSON_QUERY(a.json_field, "$.jsonKey"), r'([\'\"])', '') as VALUE
FROM table a
WHERE a.some_field > 1;

This is a screenshot from the GCP editor for Dataform:

image

Even markdown syntax highlighting gets it right where as dataform can't.

Originally posted by @dragonlobster in #1589 (comment)

@dragonlobster dragonlobster changed the title Dataform editor in GCP syntax highlighting breaks on regular expression Syntax highlighting breaks on regular expression Dec 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant