According to Christopher Murtagh: > On Wed, 2004-02-18 at 17:39, Gilles Detillieux wrote: > > Hmm. This would suggest that the '/' has a special meaning to your > > regcomp() function. How about you try adding a / character to the list > > of special characters in the strchr() call on line 81 of htlib/HtRegex.cc > > (in HtRegex::setEscaped()), to see if escaping the slash helps. > > > > Is this a quirk unique to RH Enterprise AS, or has it appeared on other > > systems too? > > > Thanks for the quick reply. I'll try the change in the code and see if > that helps. > > FWIW, I've got 3.1.6 running on the same machine and the '/' works as > expected. So, it isn't a RH Enterprise AS issue. I had thought that it > might possibly be a UTF-8 issue (default term type), but since 3.1.6 > handles it no problem, I don't think it is that either. > > Anyway, I'll try the fix and report back.
3.1.6 doesn't use regcomp() to handle htsearch's restrict and exclude, as 3.2.0b5 does, so OS-dependent quirks in regcomp() will have no effect on 3.1.6. However, I'm using 3.1.6 with Gabriele's htsearch_regex.1 patch (ftp://ftp.ccsf.org/htdig-patches/3.1.6/htsearch_regex.1) on Red Hat 9, and there are no problems with slashes whether I actually use regular expressions or plain text matches. So, I do suspect the problem to be OS-dependent. I also can't reproduce the problem on an Oct 24/03 pre-release build of 3.2.0b5 on my RH9 system. -- Gilles R. Detillieux E-mail: <[EMAIL PROTECTED]> Spinal Cord Research Centre WWW: http://www.scrc.umanitoba.ca/ Dept. Physiology, U. of Manitoba Winnipeg, MB R3E 3J7 (Canada) ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ ht://Dig Developer mailing list: [EMAIL PROTECTED] List information (subscribe/unsubscribe, etc.) https://lists.sourceforge.net/lists/listinfo/htdig-dev
