lkytal / quickTask

Task runner and manager extension for VSCode
https://lkytal.github.io/quickTask/
GNU Affero General Public License v3.0
11 stars 7 forks source link

Change vs task scanning comment stripping regex to ignore urls #22

Closed AmbrosiaDevelopments closed 6 years ago

AmbrosiaDevelopments commented 6 years ago

Typically generated tasks.json files contain comments, however the regular expression used to find the comments also removes urls with double-slashes. A new regular expression is required to prevent matching on URLs.

lkytal commented 6 years ago

Thanks for your feedback, I've switched to JSON5 parser which will tolerate comments.