-
Notifications
You must be signed in to change notification settings - Fork 77
Invalid regular expression: invalid group specifier name #393
Comments
I see a negative lookbehind is used at https://github.com/doitintl/bigquery-grafana/blob/master/src/bigquery_query.ts#L389. Perhaps this can be rewritten so it no longer depends on a lookbehind and hence is supported by Safari. This wasn't an issue before, I see this has been added in commit b5f2daf. @ofir5300 can you take a look and figure out how to rewrite this into a regular expression that is supported by Safari? |
Just downgraded to version |
Hi @JorritSalverda, the issue is most likely the regex not supported by Safari like you said. Ill handle it to be supported by all browsers, tnx for the catch. |
Is there plans to release a new version with the fix shortly? I am trying to decide if I downgrade or wait for a new version and advise coworkers to use Grafana on chrome in the meantime |
Well version 2.0.3 was just approved recently, so I can't in that time share time estimation for the next release.. |
Thanks for replying back!! I will downgrade the version of the plugin for now and keep an eye for the new version release. |
We are retiring the DoiT International BigQuery DataSource plugin for Grafana. We recommend that you migrate to the official Google BigQuery data source maintained by Grafana. In August 2022, we will cease all development and archive the GitHub project. We are sorry for any inconvenience. |
Bug Report
On Chrome on ios - using Safari below the hood - I get the following error when loading the data source on a dashboard or navigating to the Google BigQuery data source in the data sources section of my Grafana setup:
This seems to be related to Safari not supporting lookbehind in regular expressions, see https://stackoverflow.com/questions/51568821/works-in-chrome-but-breaks-in-safari-invalid-regular-expression-invalid-group
Expected Behavior
On Chrome on Mac it works as expected. I'm using plugin version
2.0.3
straight from the Grafana plugins section. Using it with Grafanav8.3.3
.Actual Behavior
Returns the error document above and doesn't render any dashboard using the data source.
Steps to Reproduce the Problem
6.20.4
andSpecifications
2.0.3
grafana/grafana:8.3.3
v8.3.3 (30bb7a93ca)
The text was updated successfully, but these errors were encountered: