Skip to content

Fix highlighting of escaped $< in CMake regex strings (#5028) - #5029

Open
Quan Zhuo (quanzhuo) wants to merge 1 commit into
microsoft:mainfrom
quanzhuo:issues/5028
Open

Fix highlighting of escaped $< in CMake regex strings (#5028)#5029
Quan Zhuo (quanzhuo) wants to merge 1 commit into
microsoft:mainfrom
quanzhuo:issues/5028

Conversation

@quanzhuo

Copy link
Copy Markdown
Contributor

This change addresses item #5028

This changes visible behavior

The following changes are proposed:

  • Fix CMake syntax highlighting so escaped $< sequences in quoted regex strings are not treated as generator expressions.
  • Add a visual syntax test case for MATCHES "\\$<".
  • Add a changelog entry for the syntax highlighting fix.

Other Notes/Information

Normal generator expressions such as $<CONFIG:Debug> are still highlighted as generator expressions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant