Changeset 473 for trunk/gsdl/src/colservr/mgsearch.cpp
- Timestamp:
- 1999-08-25T16:51:06+12:00 (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/colservr/mgsearch.cpp
r401 r473 12 12 /* 13 13 $Log$ 14 Revision 1.16 1999/08/25 04:51:06 sjboddie 15 small change to allow for searching using boolean operators 16 14 17 Revision 1.15 1999/07/16 08:35:03 rjmcnab 15 18 Fixed a weird bug to do with a faulty case statement. … … 479 482 text_t::iterator itend = ttquerystring.end (); 480 483 481 // remove all non alphanumeric characters 484 // remove all non alphanumeric characters (except 485 // boolean operators 482 486 while (ithere != itend) { 483 if (!is_unicode_letdig(*ithere)) (*ithere) = ' '; 487 if ((!is_unicode_letdig(*ithere)) && (*ithere != '!') && 488 (*ithere != '&') && (*ithere != '|') && (*ithere != '(') && 489 (*ithere != ')')) (*ithere) = ' '; 484 490 ithere++; 485 491 }
Note:
See TracChangeset
for help on using the changeset viewer.