Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I implement this regex? #15

Open
chabgood opened this issue Mar 6, 2022 · 1 comment
Open

How do I implement this regex? #15

chabgood opened this issue Mar 6, 2022 · 1 comment

Comments

@chabgood
Copy link

chabgood commented Mar 6, 2022

:?(["|']?(\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)

@DomiR
Copy link
Owner

DomiR commented Mar 8, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants