Skip to main content

Questions tagged [case-insensitive]

An operation is case insensitive when uppercase and lowercase characters are equally treated.

case-insensitive
0 votes
0 answers
10 views

Lua: Assistance Needed in Using Inheritance in conjunction with case-insensitive metatables/metamethods? Doable?

I've been trying to wrap my head around utilizing inheritance with Lua (https://www.lua.org/pil/16.2.html and Case insensitive array in Lua as references) but also integrating a case-insensitive ...
Spiderkeg's user avatar
-2 votes
1 answer
36 views

Python filter list no mater what case the letters [closed]

I am trying to figure out how to match a list value no matter whether the entered value is One, one, or oNe. I found a couple different ways but the list had to have the different possible matches. ...
Edward Roche's user avatar
0 votes
0 answers
37 views

Is there a replacement for PRAGMA case_sensitive_like?

SQLite Release 3.44.0 On 2023-11-01 states: The PRAGMA case_sensitive_like statement is deprecated, as its use when the schema contains LIKE operators can lead to reports of database corruption by ...
Dave Carpeneto's user avatar
0 votes
1 answer
40 views

How to Create a Case-Insensitive Unique Compound Index in MongoDB?

How to Create a Case-Insensitive Unique Compound Index in MongoDB? Question Body: I'm trying to create a compound unique text index in MongoDB with the following fields: tenant_id: 1 seller_id: 1 ...
Brainfuck's user avatar
5 votes
6 answers
258 views

Regex case-insensitive search, but have output match the case in the regex

Recently I rewrote my program to find English words that are made of chemical symbol abbreviations, for example "HErSHeY". I came up with this dynamic regex: grep -Pi "^($(paste -s -d'|'...
qwr's user avatar
  • 10.4k
0 votes
0 answers
19 views

Prettier case-insensitive globbing

For some tooling, I'm attempting to run a Prettier command like prettier "**/*foo*" where files such as src/foo.js and src/another/Foo.js are both matched in a case-insensitive manner. The ...
Jonathan.Brink's user avatar
1 vote
3 answers
122 views

Case-insensitive map key where key is Pair<String, String> [closed]

I have Map in Java: Map<Pair<String, String>, MyClass> myMap; I need the Pair to NOT be case-sensitive. The solution in case of regular string key is simple: TreeMap<String, MyClass&...
user5260143's user avatar
  • 1,086
-3 votes
2 answers
324 views

Case Insensitive Search on Git log comments

I use 'git log' and search for any comments by backslash / and typing the search text. Using this I cannot do case insensitive search. For example vi we can use ':set ic' and do the search. But in '...
Ramanan T's user avatar
  • 309
0 votes
2 answers
89 views

How can I make user entries case-insensitive in Python 3? [duplicate]

I am following FreeCodeCamp's Python tutorial. I would like to know how I can make user entries case-insensitive. Here is the example code. month_conversions = { "Jan": "January&...
BobDylanMadHatter's user avatar
0 votes
0 answers
229 views

EF Setup database type of In-Memory database

Is it possible to setup type of in-memory database by Entity Framework? I need this In-Memory database correctly to be as Oracle SQL. var options = new DbContextOptionsBuilder<MyDbContext>()....
Dušan Kalivoda's user avatar
0 votes
1 answer
79 views

How to perform case insensitive string-matching python 3.10? [duplicate]

I am trying to run a case statement from python version 3.10+ where a user should type the word 'add' as an input. However, if the user uses a capital letter like 'Add', it does not work. todos = [] ...
Weverson Goncalves Muciarone's user avatar
-1 votes
1 answer
41 views

Javscript Switch expression - How can it be made case insensitive?

I have two geojson files with the same key/labels but have different cases: feature.properties.STATUS and feature.properties.status I wish to test both file's label's values with a single switch ...
DaveF's user avatar
  • 155
-1 votes
1 answer
262 views

Why when my python code writes files, it seems case-insensitive?

I have a dictionary and want to write the values to files whose names are based on the keys. My keys can be very similar, a letter can be upper or lower case. dict_1 = {'g.XXXXX': '>g|XXXXX|1\...
Fan's user avatar
  • 27
0 votes
0 answers
27 views

Netlify changing the case of my react components?

While trying to debug an issue I was having with deploying a react app to Netlify, I found an odd bug that I think might be ruining my deployment. After getting a 404 error multiple times, I started ...
Bram-G's user avatar
  • 1
1 vote
0 answers
272 views

C# MongoDB Case Insensitive Property

Is it possible to set the property names to be case insensitive when filtering? In my case, I am dynamically getting a document. Let's say I am searching the users collection by first name. In ...
ScubaSteve's user avatar
  • 8,134

15 30 50 per page
1
2 3 4 5
78