Skip to content

Invalid syntax highlight in clojure language with #"\\" regexp #4

@aeschli

Description

@aeschli

From @narma on May 19, 2016 21:22

  • VSCode Version: 1.1.1
  • OS Version: OS X 10.11.4

Steps to Reproduce:

  1. change language mode to clojure in editor
  2. Write #"\\ regexp somewhere, for ex. '(#"\\" 3 "" 4 5) or
(defn decode-embed-json
  [^String s]
  (-> s
      (string/replace #"\\" "")
      json/read-str))

(even github has this issue, lol)

  1. Instead of proper hightlighting we see this
    image

Copied from original issue: microsoft/vscode#6557

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions