Skip to content

Commit d1295eb

Browse files
authored
fix: add _ to charaters allowed in modules name (#856)
1 parent c2fe315 commit d1295eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

analysis/src/Utils.ml

+1-1
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ let cutAfterDash s =
223223
| exception Not_found -> s
224224

225225
let fileNameHasUnallowedChars s =
226-
let regexp = Str.regexp "[^A-Za-z0-9]" in
226+
let regexp = Str.regexp "[^A-Za-z0-9_]" in
227227
try
228228
ignore (Str.search_forward regexp s 0);
229229
true

0 commit comments

Comments
 (0)