Open LinWanCen opened 3 weeks ago
@LinWanCen can you please mention the browser you're using?
The regular expression causing this issue uses the /d flag, which is implemented in the ES2022 specification. Therefore, if the browser version is lower than the list below, it will not be usable:
Can you use other code instead.
https://github.com/microsoft/vscode/blob/c800bf9216ee64bdd87db41b6e6101df1b89e897/src/vs/editor/common/services/findSectionHeaders.ts#L39
https://github.com/microsoft/monaco-editor/issues/4557