Skip to content

# lines #27

@MarcinJaracz

Description

@MarcinJaracz

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions