Hi,
I have a problem getting the -js_transform2 option to work properly. I
have
javascripts which have lines like this:
SHFTHZFIG = JSFIGDIR + "shh.gif";
document.writeln(" <TD valign=\"center\"><IMG SRC=\"" + JSFIGDIR +
"nospins.gif\"></TD>");
JSFIGDIR is a variable which is set to "/online/javascript/figs/". I
tried to
use the following commandline option
-js_transform2 'JSFIGDIR[ ]*+[ ]*"(.*\.gif)"'
"/online/javascript/figs/$1" "" "" \
-js_transform2 'JSFIGDIR[ ]*+[ ]*"(.*\.gif)\\"'
"/online/javascript/figs/$1" "" "" \
to mirror the gif-files to the proper location. However, this does not
seem to
work and the gif-files in these javascripts are missing from my mirror.
What is wrong with the syntax for the -js_transform2 here?
Best regards,
Matthias Ernst
--
+----------------------------------------+---------------------------------=
--+
| Matthias Ernst | Phone: +41-1-632-4366 | | ETH Zürich | Fax:
+41-1-632-1621 | | Laboratorium für Physikalische Chemie | | |
ETH-Hönggerberg - HCI D 227 | Email: maer@... | |
CH-8093 Zürich, Switzerland | maer@... |
+----------------------------------------+---------------------------------=
--+