jbroder
12-31-1998, 03:09 AM
I am using Allaire homesite, which allows
editing pages with regular expressions (regex).
Regex looks a lot like sed expressions, so I knew enough to write this expression to find all links in my pages to .wav files called july23.wav and aug13.wav and so forth.
[a-z]*[a-z][a-z][a-z,0-9][a-z,0-9][a-z,0-9]\.wav
What I wanted to do is put all the wav files
in a separate directory.When I went to change all the references to http://www.guitartricks.com/sound/[a-z]*[a-z][a-z][a-z,0-9][a-z,0-9][a-z,0-9]\.wav
instead of giving me back the orinal file names, it just named all the files
[a-z]*[a-z][a-z][a-z,0-9][a-z,0-9][a-z,0-9]\.wav
oops!
What is the right way to express the idea
that all the text that now reads "filename.wav" needs to be directed to
"sound/filename.wav" from now on?
Thanks!
editing pages with regular expressions (regex).
Regex looks a lot like sed expressions, so I knew enough to write this expression to find all links in my pages to .wav files called july23.wav and aug13.wav and so forth.
[a-z]*[a-z][a-z][a-z,0-9][a-z,0-9][a-z,0-9]\.wav
What I wanted to do is put all the wav files
in a separate directory.When I went to change all the references to http://www.guitartricks.com/sound/[a-z]*[a-z][a-z][a-z,0-9][a-z,0-9][a-z,0-9]\.wav
instead of giving me back the orinal file names, it just named all the files
[a-z]*[a-z][a-z][a-z,0-9][a-z,0-9][a-z,0-9]\.wav
oops!
What is the right way to express the idea
that all the text that now reads "filename.wav" needs to be directed to
"sound/filename.wav" from now on?
Thanks!