pawelgrzybek / snippet-generator

Snippet generator for Visual Studio Code, Sublime Text and Atom
https://snippet-generator.app/
1.74k stars 202 forks source link

Fix #25 : escape backslash in VS Code #28

Closed dl8sd11 closed 5 years ago

dl8sd11 commented 5 years ago

25

I solve the issue by replacing the backslash to double backslash in VS Code

pawelgrzybek commented 5 years ago

Thank you for your contribution.

I really appreciate it. i will set up Netlify to deploy previous branches for PRs, do a quick check and I am more than happy to merge if everything works as expected.

Thanks and have a lovely day ✨

pawelgrzybek commented 5 years ago

Hi.

Thanks for your time and contribution. It does the job but only partially. Please test your implementation with this snippet please.

test\n
test2\n

The fix is applied only to the fist occurrence. if you don't mind to change regex to global I am more than happy to merge. I will close it for now but feel free to resubmit.

Thanks and have a nice weekend :)