Fixes #53. Intellisense breaks because of a bad global (g) flag on the regular expression used to extract components from the icon string, which ends up accidentally inserting the delimiter (e.g. :) into the icon collection name, causing the collection lookup to fail.
Description
Fixes #53. Intellisense breaks because of a bad global (
g
) flag on the regular expression used to extract components from the icon string, which ends up accidentally inserting the delimiter (e.g.:
) into the icon collection name, causing the collection lookup to fail.Linked Issues
https://github.com/antfu/vscode-iconify/issues/53
Additional context