           (let ((verilog-module-regexp (concat "^\\s-*" ; elisp regexp
                                                "\\(?:module\\)\\s-+" ; shy group
                                                "\\("
-                                               verilog-identifier-regexp
+                                               verilog-mode-identifier-regexp
                                                "\\)\\b"))
                 verilog-module-name
                 verilog-module-instance-regexp)

;; Time-stamp: <2015-03-11 14:13:53 kmodi>

;; Verilog


          (let ((verilog-instance-regexp
                 (concat "^\\s-*" ; elisp regexp
                         "\\("
                         verilog-mode-identifier-regexp
                         "\\)"
                         "\\s-+"
                         "\\(#\\s-*([[:ascii:][:nonascii:]]*)\\)*" ; optional hardware parameters
                         "\\([^a-zA-Z0-9_\\.,()]*?\\)" ; optional space/newline before instance name
                         "\\(" verilog-mode-identifier-regexp "\\)" ; instance name
                         "\\([^a-zA-Z0-9_]*(\\)" ; optional space/newline after instance name
                                        ; and before opening parenthesis `('
                         ;; "\\([^a-zA-Z0-9_]\\|\\.\\)" ; optional space/newline after `('
