Skip to content

Commit

Permalink
fix regex
Browse files Browse the repository at this point in the history
  • Loading branch information
fcannizzaro committed Jan 3, 2019
1 parent 0cd420f commit 47f4c91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion npm-install.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

package_settings = sublime.load_settings('NpmInstall.sublime-settings')

MODULE = r'.*(?:import.*?from.*?|require\()[\"\']([^.].+[^\"\'\/\n]*)?[\"\']\)?.*'
MODULE = r'.*(?:import.*?from.*?|require\()[\"\']([^.].+?[^\"\'\/\n]*)?[\"\']\)?.*'
ICON = "Packages/npm-install/icon-%s.png"
data, prev, root, progress = {}, {}, {}, {}

Expand Down

0 comments on commit 47f4c91

Please sign in to comment.