diff --git a/racket/collects/compiler/module-suffix.rkt b/racket/collects/compiler/module-suffix.rkt index f600ef7967..8823915d54 100644 --- a/racket/collects/compiler/module-suffix.rkt +++ b/racket/collects/compiler/module-suffix.rkt @@ -52,7 +52,8 @@ (define suffixes (get-module-suffixes #:mode key #:group group #:namespace namespace)) (byte-pregexp - (bytes-append #"^(.*)\\.(?i:" + (bytes-append #"^([^.].*)\\.(?i:" (apply bytes-append (add-between suffixes #"|")) #")$"))) +