               "\\(#([^;]+?)\\(\\s-*//.*?\\)*[^;\\./]+?\\)*"
               "\\(?2:" modi/verilog-identifier-re "\\)" ; instance name
                                         ; force group number to 2
-              "[^;a-zA-Z0-9_]+?(" ; optional space/newline after instance name
+              "[^;a-zA-Z0-9_]*?(" ; optional space/newline after instance name
                                         ; and before opening parenthesis `('
               )
       "Regexp for a valid verilog module instance declaration.")

;; Time-stamp: <2015-04-30 11:50:03 kmodi>

;;; Verilog


              ;; (message "---- 1 ---- %s" (match-string 1))
              ;; (message "---- 2 ---- %s" (match-string 2))
              ;; (message "---- 3 ---- %s" (match-string 3))
              (setq-local modi/verilog-which-func-xtra (match-string 1)) ; module name
              (setq instance-name (match-string 2)) ; instance name

