I need to highlight ${} in a string, and if ${} has a word "baseMembers", it need to be highlighted by different color too, like: enter image description here
How could I accomplish this? Thanks.
please see the pic above.
I need to highlight ${} in a string, and if ${} has a word "baseMembers", it need to be highlighted by different color too, like: enter image description here
How could I accomplish this? Thanks.
please see the pic above.
One of the ways to do it is like this: you push a state that's like your regular start-state but has an exit condition (and pushes itself again on
{so that it supports nested brackets)