diff --git a/racket/collects/compiler/module-suffix.rkt b/racket/collects/compiler/module-suffix.rkt index 8823915d54..f600ef7967 100644 --- a/racket/collects/compiler/module-suffix.rkt +++ b/racket/collects/compiler/module-suffix.rkt @@ -52,8 +52,7 @@ (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 #"|")) #")$"))) -