OK. If you are using NSD8x with TCL 8.3.2 ( i think ) you cannot end a regular expression with . So i switched the / and and now it works. What confuses my is why it didn't cause a problem in the document-upload-new-file-2.tcl.
Is Ybos or Furfly using nsd76 instead of nsd8x? I am curious to see if this really is the answer.