Case sensitivity

"Markus Hoenicka" <[email protected]>
Newsgroups gmane.text.refdb.general
Message-ID <[email protected]>
Hi,

Z F writes:
 > Anyway, it seems to me that when a comparison of text field is made
 > with ~ (or probably with ^ and $) the comparison should not be case
 > sensitive. That is if I search with
 > 
 > :TI:~basing
 > 
 > I should get enteries containing "basing" and "BaSinG" on the output.
 > I think it would greately improve the search.
 > 
 > THis is done for some of fields (AU for example) but for the title it
 > is not. I would think, searches of alphanumeric fields should be case
 > insensitive. One may argue that even = and != operations should not
 > be case sensitive.
 > 

RefDB relies entirely on the database engine for queries. If the
engine does regexp comparisons in a case-sensitive fashion, then RefDB
does the same. If you badly need one particular behaviour, you
may get closer by switching to a different engine. Some more
background can be found here:

http://sourceforge.net/mailarchive/message.php?msg_id=9292940

regards,
Markus

-- 
Markus Hoenicka
[email protected]
(Spam-protected email: replace the quadrupeds with "mhoenicka")
http://www.mhoenicka.de



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.