add support for submodules (#173)

This commit is contained in:
eric sciple
2020-03-05 14:21:59 -05:00
committed by GitHub
parent 204620207c
commit 422dc45671
17 changed files with 915 additions and 220 deletions

5
src/regexp-helper.ts Normal file
View File

@ -0,0 +1,5 @@
export function escape(value: string): string {
return value.replace(/[^a-zA-Z0-9_]/g, x => {
return `\\${x}`
})
}