table icon indicating copy to clipboard operation
table copied to clipboard

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

Open ZeekoZhu opened this issue 2 years ago • 0 comments

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.

ZeekoZhu avatar Oct 26 '23 02:10 ZeekoZhu