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 //.
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//
.