I am using 3.2.0b4-20021020 and I am trying to use regular expressions with the restrict field. One of the restrictions I would like to do, is to return results of a certain type of file, from a specific directory tree.


I have tried the following and none of them work.
Restrict to: <select name="restrict">
<option value="/work_area/.*/.*.html">
<option value="\/work_area\/.*\/.*.html">
<option value="\/work_area\/.*.html">


The following shows the actual url to a file I want to match and this HTML code works with HtDig, which I wouldn't expect to, because / is a special character in regex and should need to be escaped with \/

Restrict to: <select name="restrict">
<option value="/work_area/disp_ecrs/WK001374.lbl.html">

Is regex implemented for 3.20b4 for the restrict field? Documentation seems to say it is.


Thanks
Rob Kremer



-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to