diff --git a/importexp b/importexp
index e11f980fcd72d54c02daa05a20401b507673f6cb..a020735768723e66530fcf790176a60410a24c82 100755
--- a/importexp
+++ b/importexp
@@ -130,7 +130,7 @@ done\
         s@^(\s*)(cat\s+\$thisscript)@\1: \2@
         2 i\
 cd '$WORK_DIR'
-        /^\s*#.*start\s+experiment/i i'"$SHOW_HERE_DOCS"'
+        /^\s*#.*start\s+experiment/ i'"$SHOW_HERE_DOCS"'
         s:^(\s*)(set\s+\+x\s*$|(set\s+\+\w+)x):\1\3:
         '"${REMOVE_ERROR_FLAG_SH-}"'
         s:^(\s*)SCRIPT_DIR=.*$:\1SCRIPT_DIR='$WORK_DIR':