Skip to content

How do I implement this regex? #15

@chabgood

Description

@chabgood

:?(["|']?(\w[^\w\s]?)+["|']?)+\s*?=>\s*

I tried escaping the single and double quotes but VSCODE still gives me errors.
:\?([\"|\']?(\w[^\w\s]\?)+[\"|\']\?)+\s*\?=>\s*

VsCode Error:

Use regexp find command. Needs to be escaped. e.g. "(\n)*"

Invalid escape character in string.jsonc(261)

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