vscode-excel-to-markdown-table icon indicating copy to clipboard operation
vscode-excel-to-markdown-table copied to clipboard

Regex failing in Safari based devices (iOS)

Open ganesshkumar opened this issue 3 years ago • 1 comments

I am reusing the code to copy excel data in Obsidian editor. One issue is that when running the code is iOS, the regex throws an error as lookbehind regex is not supported in Safari based devices.

Use of lookbehind regex in excel-markdown-helpers.ts https://github.com/csholmq/vscode-excel-to-markdown-table/blob/9a53504a302e302a76ac2ea05d5db221572143a6/src/excel-markdown-helpers.ts#L16

Question: Is it possible to rewrite this regex without lookbehind regex? I am looking for your help as I didn't want to touch the regex without much context and introduce some regression by fixing this.

ganesshkumar avatar Jun 17 '22 09:06 ganesshkumar

What else is not supported on iOS?

csholmq avatar Feb 07 '23 13:02 csholmq