Skip to main content
Filter by
Sorted by
Tagged with
5 votes
5 answers
215 views

I have a data logger that creates columns in its data sets with names that use both uppercase and lowercase letters, e.g., "SampleTime" and "SensorData". After a firmware update, ...
Swawa's user avatar
  • 325
1 vote
1 answer
120 views

I'm trying to write a parser for a config file for a project, and I'd like a certain enum value to be able to be parsed case insensitively. That is, regardless of how end-users capitalize the value, ...
AverageHelper's user avatar
1 vote
0 answers
63 views

We are converting a large database system from SQL Server 2022 to Postgres 18. The SQL Server collation is Latin1_General_CI_AS. The Postgres database default collation is English_United Kingdom.1252. ...
Mark Gibson's user avatar
8 votes
1 answer
190 views

Note that locales are a part of C that has evolving support. Following is about C23 and maybe back to C99. This is about an minor corner case in strtod(). With locales like "turkish", should ...
chux's user avatar
  • 159k
1 vote
2 answers
91 views

I'm trying to validate a form, where there are two mandatory columns whose combination must be unique in the table. Validator should also ignore the case of the input. $data = request()->validate([ ...
Hrushikesh Vartak's user avatar
2 votes
1 answer
177 views

I am working with a PostgreSQL database and I need to change the collation setting of specific text columns. However, I do not want to alter the collation of the entire database. The database ...
elif sena's user avatar
0 votes
0 answers
71 views

I am making a Python code to unzip a .zip file and output the content into another. The .zip file contains many files, some with case sensitive file names such as T_N_with_client.docx T_N_with_ lient....
W K's user avatar
  • 1
1 vote
2 answers
246 views

I've written some command-line tools that have certain options having both single-dash-one-letter-abbreviations (short-options), as well as more verbosely named double-dash options (long-options) - as ...
James Rowell's user avatar
0 votes
0 answers
57 views

I have a Django project that can perform a query using a person's name as show in the attached code. def get_queryset(self): query = self.request.GET.get('query') if query: query = &...
Andy Walldorff's user avatar
0 votes
0 answers
97 views

Question details: I'm solving the HackerRank Regex - Duplicate Words problem in Java where the goal is to use regular expressions to remove repeated words while retaining the first occurrence, ...
Uday Kumar's user avatar
5 votes
1 answer
238 views

I have a project in VB.NET where I have installed the Microsoft.Graph NuGet package (v5.58.0). This package contains two classes with nearly the same name, differing only by one capital letter: ...
Carlos's user avatar
  • 1,832
0 votes
1 answer
78 views

I have this code to generate the output shown below, when I debug the code, I can see the "CostLine.ExternalId" but when the result is shown in Postman, the case has changed to "...
kas_miyulu's user avatar
0 votes
0 answers
209 views

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
159 views

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
5 answers
353 views

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
  • 11.6k
1 vote
3 answers
203 views

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,098
1 vote
2 answers
2k views

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
  • 563
0 votes
2 answers
117 views

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
492 views

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
103 views

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
54 views

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
  • 285
-1 votes
1 answer
278 views

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
2 votes
0 answers
641 views

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,378
2 votes
0 answers
63 views

I want to convert the film_name parameter to lowercase using the lower() method. This ensures that the function can perform a case-insensitive search when checking if the film is a winner. I tried the ...
Boppe69's user avatar
  • 21
1 vote
3 answers
123 views

I have a sentence like this My name is [name] and I'm [age] years old I would like to replace the text inside of square brackets with something belonging to a dictionary. I googled a bit and I've ...
Martyx's user avatar
  • 41
0 votes
3 answers
1k views

Question I am looking for how to make a regular expression case insensitive, that works with GoogleTest's regex matchers (e.g. ContainsRegex). I have tried unsuccessfully to prefix my expressions with ...
Smartskaft2's user avatar
0 votes
1 answer
50 views

It easily highlight words, framework free, case insensitive, even on html tagged code. Could help improve that Pure JavaScript code? Works, almost perfectly. (document.body).realcar("word high&...
user3768564's user avatar
1 vote
3 answers
438 views

Is there a way to make a list comprehension to search for a string being case insensitive? What I do now, which is subpar is: original_list = ['NAME', 'NUMBER', 'name', 'number', 'Name', 'NaMe', '...
Quant1892387's user avatar
1 vote
2 answers
102 views

I want to know if there is a way to set the entire database, or at least the collections, to be case insensitive without having to use lower() or upper() in the queries.
Sergio R Pires's user avatar
0 votes
0 answers
31 views

Using PostgreSQL, EntityFramework, C#. My index was created by: CREATE UNIQUE INDEX "IX_MyObjects_MyColumn" ON "Manufacturing"."MyObjects" USING btree (LOWER("...
dgad's user avatar
  • 75
0 votes
0 answers
91 views

I'm trying to make a macro that will go through a list of emails and flag potential problems by changing their color. I was trying to do it by using the Like function, but I forgot that it's case ...
MRDoubleyou's user avatar
-1 votes
1 answer
168 views

I want to check if a list of string is contained in another string but ignoring the case For example: Input: 'Hello World', ['he', 'o w'] Output: [True, True] Input: 'Hello World', ['he', 'wol'] ...
Ahsan Tarique's user avatar
0 votes
1 answer
229 views

When retrieving an object from an array with jq in a JSON file like this [ { "field1": "Object1_Value1", "field2": "Object1_Value2", "field3&...
nightcod3r's user avatar
0 votes
1 answer
123 views

I'm using Django 3.2 and postgreSql 12. I've added a new text field that should be case-insensitive, i.e if the value 'ab' exists, I want the DB to fail the request if someone is inserting 'Ab'. But ...
user2880391's user avatar
  • 2,831
1 vote
1 answer
419 views

I am running 2 servers - Maria DB v10 on my Mac and MySQL v5.6 on Centos. Both of them have the same databases and behaviour is the same on both, so my problem is not related to OS or server version. ...
user3523426's user avatar
1 vote
1 answer
663 views

I retrieved a list of all Azure resources using Get-AzResource and stored one sample record in $Item. I am trying to get all of our tags for every resource, but the capitalization of the Key is ...
Andrew Draper's user avatar
0 votes
1 answer
470 views

I'm translating a Windows-batch script to a Linux-shell script. This script is responsible for copying hundreds of different files from many unique locations to many unique locations. I've the problem ...
paladin's user avatar
  • 790
0 votes
1 answer
110 views

I want to loop through different files: forvalues y=2014/2022 { use var1 var2 var3 using "file_`y'.dta" save "file2_`y' } However, some of the files have var names VAR1 VAR2 ...
Victor Nielsen's user avatar
-1 votes
1 answer
76 views

Example Link RegEx Group returning issue: (?P<qa_type>(Q|A|Mr[\.|:]? [a-z]+|Mrs[\.|:]? [a-z]+|Ms[\.|:]? [a-z]+|Miss[\.|:]? [a-z]+|Dr[\.|:]? [a-z]+))?([\.|:|\s]+)? Objective: To extract text ...
rnwtenor's user avatar
-2 votes
1 answer
359 views

Let's say I have an array from file /some/file.json: [ "This.FilE", "That.file", "Another.FIle" ] Then I have a string x with value ThiS.FIle.is.HeRe, now I ...
Gregor Isack's user avatar
  • 1,139
0 votes
2 answers
364 views

I have a case from Wikidata where the string Articles containing video clips shows up in a set of categories and needs to be removed. Trouble is, it also shows up in other sets as articles containing ...
mfeb's user avatar
  • 3
1 vote
1 answer
323 views

I'm setting up a multisite web server with nginx, but I'm having a problem with managing subsites. In practice, if I call up my web server with the url http://host/bollettini I can navigate the site ...
Salvatore Mangiagli's user avatar
2 votes
1 answer
561 views

When you have an index with field that its type is wildcard and its filled with Cyrillic data and then when you perform wildcard query with case_insensitive: true, no documents are found. Note: this ...
Irfan Hodzic's user avatar
0 votes
1 answer
208 views

I am new to gfortran, and I am trying to compile an atmospheric code that draws from numerous different files. The issue, however, is that some of the files used for input parameters are in different ...
jlan160's user avatar
  • 23
1 vote
2 answers
256 views

I have a dataframe: country rating owner 0 England a John Smith 1 England b John Smith 2 France a Frank Foo 3 France a Frank foo 4 France a ...
Max1975's user avatar
  • 41
0 votes
1 answer
169 views

We have something of an ugly mess that needs cleaning up. In our codebase, certain developers created directories whose name differed only in case. Normally, such a thing would not be an issue; ...
Joshua's user avatar
  • 43.7k
0 votes
1 answer
595 views

I am migrating data from SQL Server to Postgres. Since Postgres is case-sensitive, I am trying to add case-insensitive COLLATION but it is failing with the below error - ERROR: could not create ...
NehaS's user avatar
  • 33
0 votes
1 answer
59 views

I have a springdata mongodb aggregation where I use agg = Aggregation.newAggregation(BrkrBean.class, match(criteria), project("productId, "fullName").and( StringOperators....
marcg's user avatar
  • 698
1 vote
1 answer
2k views

I am trying to update json(depth > 2) file using Newtonsoft library. While reading the file, if json keys case are not same as in json file, it failed to fetch its value. Sample JSON file: { &...
Vivek's user avatar
  • 1,089
3 votes
3 answers
383 views

I have a list (of dictionary keys), which I need to sort. This is my list: listToBeSorted = ["Right Coronary Artery 2", "Right Coronary Artery 1", "RIght Coronary Artery 3&...
Spinlock's user avatar

1
2 3 4 5
24