Skip to content
This repository was archived by the owner on Apr 27, 2026. It is now read-only.

parse regular expressions in language configurations - #2665

Merged
brettfo merged 1 commit into
dotnet:mainfrom
brettfo:language-configuration-regexp
Jan 31, 2023
Merged

brettfo merged 1 commit into
dotnet:mainfrom
brettfo:language-configuration-regexp

Conversation

@brettfo

@brettfo brettfo commented Jan 30, 2023 •

Copy link
Copy Markdown
Member

Certain properties in the language configuration object are meant to be RegExp so we have to special-case those when parsing.

Fixes an issue where switching a cell to JavaScript would throw the error $.exec is not a function.

@brettfo
brettfo merged commit e060ecf into dotnet:main Jan 31, 2023
@brettfo
brettfo deleted the language-configuration-regexp branch January 31, 2023 00:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants