// Example of regular expression in JSON (note double backslash to escape characters)
"indentRainbow.ignoreLinePatterns" : [
"/[ \t]* [*]/g", // lines begining with <whitespace><space>*
"/[ \t]+[/]{2}/g" // lines begininning with <whitespace>//
]
\t is a tab.
\\s is whitespace (equivalent to [\\r\\n\\t\\f\\v ]).
I think including an example with an escaped backslash would be good too, ref #189.
(Technically, comments aren't a thing in JSON, but VS Code ignores this, too. 🤷♂️ )