Skip to content

Commit

Permalink
fixed hinting for folder name with dash in it
Browse files Browse the repository at this point in the history
Signed-off-by: Mirjana Stojanoska (c) <mstojanoska@vmware.com>
  • Loading branch information
MirjanaStojanoska committed Apr 25, 2024
1 parent b380fb4 commit 4e13ade
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class CompletionPrefixPattern {
const prefixPatterns = [
new CompletionPrefixPattern(
CompletionPrefixKind.MODULE_IMPORT,
/System\.getModule\s*\(["']((?:[a-zA-Z_$][\w$]*\.)*)([a-zA-Z_$]?[\w$]*)$/, // https://regex101.com/r/bsVfwk/1
/System\.getModule\s*\(["']((?:[a-zA-Z_$][-\w$]*\.)*)([a-zA-Z_$]?[\w$]*)$/, // https://regex101.com/r/WKCK3Y/1
/Class\.load\s*\(["']((?:[a-zA-Z_$][\w$]*\.)*)([a-zA-Z_$]?[\w$]*)$/ // https://regex101.com/r/90B9Db/1
),

Expand Down

0 comments on commit 4e13ade

Please sign in to comment.