Skip to content

Dashboard Breaks on Safari Versions Prior to 16.4 Due to Unsupported Lookbehind Regular Expression #1258

Description

@ZeekoZhu

I've noticed an issue with the regular expression at https://github.com/merico-dev/table/blob/2c29dae2851cdf4ac1811a0824963e3905d0493e/dashboard/src/utils/usage.ts#L2-L4

image

Safari versions before 16.4 do not support lookbehind. As a result, using this regular expression may cause the dashboard to malfunction on many Safari browsers.

Metadata

Metadata

Assignees

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions