sgwozdz / jenkinsfile-support

Visual Studio Code extension
MIT License
33 stars 7 forks source link

Groovy slashy strings aren't highlighted #59

Open lilyball opened 4 years ago

lilyball commented 4 years ago

Describe the bug Groovy supports "slashy strings", such as /foo/, and also "dollar slashy strings", like $/foo/$ (the latter is to allow for unescaped slashes within the pattern).

Expected behaviour The JenkisFile syntax should highlight these properly.

Actual behaviour The JenkinsFile syntax does not know about these and mis-highlights. In my case, $//[^/]*$/$ is being interpreted as an unknown token $ followed by a line comment //.