vscode-hide-comments icon indicating copy to clipboard operation
vscode-hide-comments copied to clipboard

# lines

Open MarcinJaracz opened this issue 7 months ago • 0 comments

I don't know if this is a bug or if I'm doing something wrong. I tried to apply my RegEx for ShellScript, where many lines started with "#". My idea was to create my own expression, which I tested on regexr.com, so I created something like this:

"hideComments.regex": [
    {
        "regex": "/^\\s*#.*\\n/gm",
        "flags": "hashtag"
    }
]

But it didn't work. Can You lead me what I messed up?

Some explanation to the RegEx syntax below

image

MarcinJaracz avatar Jul 27 '24 22:07 MarcinJaracz