case-insensitive

Match capital letters and small letters by RegExp

Hi . I wrote some RegExp pattren like this : SomeText But I want the pattren to match with : Sometext sOMeTeXt SOMETEXT SoMEteXt Somethings like that ! In fact I want to use this \s?[^a-zA-Z0-9\_]SomeText[^a-zA-Z0-9\_] what should i do ? ...

Linq join on parameterized distinct key CASE INSENSITIVE

To revisit a previous question with a further stipulation... Anyone know how to do the following, IGNORING CASE? Dim Matches = From mRows In LinqMasterTable Join sRows In LinqSecondTable _ On mRows(ThePrimaryKey) Equals sRows(TheForignKey) _ Order By mRows(ThePrimaryKey) _ Select mRows, sRows For details ab...

postgresql: Finding the ids of rows that contain case-insensitive string duplication.

I want to select and then delete a list of entries in my tables that have case-insensitive duplications. In other words, there are these rows that are unique... ..but they're not unique if you ignore case factor in case. They got in while I wasn't watching. So how can I s...

What's the advantage of case sensitive languages over case insensitive ones?

Hi, I have been doing a number of projects in Delphi, which uses the case insensitive language Pascal, and I was wondering what the advantage of case sensitive languages is. Jason argues that "Case insensitivity introduces much ambiguity". I don't agree. If you realize that the language is case insensitive you know that WHILE means the s...

Case-Insensitive List Search

I have a list testList that contains a bunch of strings. I would like to add a new string into the testList only if it doesn't already exist in the list. Therefore, I need to do a case-insensitive search of the list and make it efficient. I can't use Contains because that doesn't take into account the casing. I also don't want to use ToU...

Cas insensitive search in jqGrid including hidden fields

Hello All, I have few hidden fields in my jqGrid on which I have to perform a case insensitive search (may be using regex - not sure). Is it possible? Can someone give me directions on it? Thanks! ...

CakePHP sort ignore case

I've got to sort a list of Reservations (they're coupled to an event by defining a belongsTo association) by the last name of the person who registered the ticket. I do this in cakePHP: $reservations = Set::sort($eventinfo['Reservation'],'{n}.last_name','asc'); This works, but some users input their data in all lowercase, which makes...

Can't tell if a file exists on a samba share

I know that the file name is file001.txt or FILE001.TXT, but I don't know which. The file is located on a Windows machine that I'm accessing via samba mount point. The functions in os.path seem to be acting as though they were case-insensitive, but the open function seems to be case-sensitive: >>> from os.path import exists, isfile ...

git-p4 cloned repo contains mixed filename case -- how to fix?

I imported a large repo using git-p4, and discovered that I have some strangely mixed-case filenames, e.g.: dirA/DIRb/file1.txt and then other files like so: DIRa/dirB/FILE2.txt and so on. These get entered into the repo this way because git-p4 uses fast-import. This causes Git to mysteriously claim that there are untracked directo...

Case insensitive search in hibernate without criteria

I want to do case insensitive search in hibernate Query. I can do it with Criteria but it is not an option for me right now. The method which fire query takes a query string as input and it is used by other components. Is it possible to enable case insensitive for Hibernate session or prepare criteria object from hql query. ...