As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [case-insensitive]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
6 views

Set ArangoDB to be case insensitive

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

Is there way to use PostgreSQL expression index with starting wildcard? [duplicate]

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
  • 31
0 votes
0 answers
53 views

Using InStr() in VBA to flag emails

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

Python case insensitive efficiently check if list of strings is contained in another string

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

Case-insensitive search of an object with jq

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
0 answers
25 views

add case sensitive to barcode field in Odoo

I'm Odoo 15 , I realized that Odoo product barcode field is case sensitive. So, however barcodes are unique but it could be duplicated. Odoo barcode field accept the following case Product1 barcode: ...
Ahmed Ragab's user avatar
0 votes
1 answer
26 views

Django 3.2 CITEXT and unique_together

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,633
1 vote
1 answer
33 views

Mysql / Maria DB case (in)sensitive search

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
0 votes
1 answer
51 views

Powershell case insensitive dictionary [duplicate]

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
0 answers
28 views

Caseless Stanford Named Entity Recognition in Python or Stanza

I want to check whether a URL has people's names, e.g. /team does not and /joseph-conrad does. I found the Stanford Named Entity Recognition tagger and it seems to work well. The issue is that URLs ...
miguelmorin's user avatar
  • 4,953
0 votes
1 answer
51 views

Switch to case insensitive in POSIX compliant shell script?

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
  • 730
0 votes
1 answer
35 views

How to make statement case insensitive when uploading a dta file with specified columns?

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

Python Regex to Capture Proceeding Text - mixing cas insensitivity in group

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
-1 votes
1 answer
116 views

Reverse substring match in jq array

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,101
0 votes
2 answers
98 views

Python: How to remove/discard a string from a set of strings using case-insensitive match?

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

NGINX location case insensitive

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

Case_insensitive not working on wildcard field type with cyrilic data

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

How to make gfortran case insensitive for reading filenames

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
  • 11
1 vote
2 answers
45 views

Pandas Dataframe groupby on 3 columns and make one column lowercase

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

How do I ask git to clean out and rebuild the entire working tree?

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
  • 40.2k
0 votes
1 answer
117 views

Adding COLLATION in postgres

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
  • 23
0 votes
1 answer
30 views

How to do case insensitive search in StringOperators.valueOf("field1").indexOf(txtSchStr))

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
  • 543
1 vote
1 answer
141 views

Case insensitive access of JSON keys

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 Jaiswal's user avatar
4 votes
3 answers
134 views

Sort a list in Python, ignore blanks and case

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 vote
1 answer
35 views

How to do case-insensitive comparison in delete() method of SQLiteDatabase class Android

I am making an Android app in Kotlin with SQLite, and I use the code below to delete a record with 'subject' column. val rows = db.delete(TABLE_NAME, "subject=?", arrayOf(subject)) It works ...
KBee's user avatar
  • 87
1 vote
2 answers
118 views

Is there a way to set {matchCase:false} globally when using contains?

So i'm using cypress and most of my selector is using contains So instead of using {matchCase:false} in every contains is there a way to set it globally?
Noel Dulin's user avatar
1 vote
1 answer
57 views

How to make a query ignoring special characters in Rails?

I have a collection of column names that are parameterized. And I would like to make a query with any value from the following collection: The original and unparameterized collection would be this: (...
Samuel D.'s user avatar
  • 199
1 vote
2 answers
147 views

Case insensitive with special special characters in Rails model

I have the cars_tables and in its name column I have names with special characters, for example: car_names = Car.pluck :name => ["Cárrozería", "Óther Cars", "Forede Lúis&...
Samuel D.'s user avatar
  • 199
0 votes
0 answers
17 views

How to sort key in std::map<string, string> base on alphabet case insensitive? C++ [duplicate]

Here is my code #include <iostream> using namespace std; int main() { std::map<std::string, std::string> mp; mp["abb"] = "foo"; mp["Abc"] = "...
Dương Xuân Anh's user avatar
0 votes
1 answer
23 views

Elasticsearch : case_sensitive parameter to the wildcard operator return errors

On Elastic search, it is possible to add a case_sensitive parameter to the wildcard operator. I tried the following code without success: wildcard: { 'attribute_values.text_value....
Powerbenben's user avatar
-1 votes
1 answer
22 views

How do i make my code case insensitive using the match case function

I've written a code that prompt the user for input and output the data that matches to it. I'm using the match case function how do I make case insensitive. I've tried .lower() in input but the code ...
Ephraim's user avatar
0 votes
1 answer
18 views

sort G.nodes case insensitive

I want to sort the nodes in my G.nodes with G=nx.Graph case insensitive. My code is H=nx.Graph() H.add_nodes_from(sorted(G.nodes(data=True), key=str.lower)) H.add_edges_from(G.edges(data=True)) But ...
Chras's user avatar
  • 3
0 votes
0 answers
35 views

Case insensitive check constraint in SQL database creation

This is my create statement. I need to make a photo_filename constraint for it to be case insensitive to accept and form of .jpg JPG, JpG, jpG, etc. CREATE TABLE P_PHOTO ( PHOTO_ID CHAR(5) NOT ...
love4mj789's user avatar
1 vote
0 answers
50 views

Exact and case insensitive array comparision in mongoose

Suppose, below is the features array already exist in my database records: const features = [ 'Multiple Admin Users', 'Distribute Units', 'Unit Reports', 'Track Single Unit', 'Commercial ...
Drashti Kheni's user avatar
0 votes
2 answers
585 views

How to make URL path case insensitive - NextJs/JS

I am using NextJs and I want to make my URL's case insensitive. Currently due to the fact I am fetching my paths from an API all my paths start with a capital letter. For example www.mysite.com/About. ...
Time2learnagain's user avatar
0 votes
0 answers
311 views

Django query (contains, startswith, etc..) always case-insensitive

Whenever I use Django's query functions like name__contains or name__startswith it is always case-insensitive, as if they were name__icontains or name__istartswith. How could I force case-sensitivity? ...
chakmeshma's user avatar
0 votes
0 answers
13 views

DataReader: pass a parameter as a String with case change does not give results

I've a DataReader which its Command involves a LIKE clause. For it to be executed, a String is passed as a paremeter from a TextBox at the UI. All data in the DB is stored as UpperCase strings. The ...
Javier Gómez's user avatar
0 votes
1 answer
153 views

Why is SpaCy matcher not matching case-insensitive words in a document?

I want SpaCy matcher to match keywords (multi-word entities) in a document irrespective of their case. Token.lemma is case sensitive... So, with this code, I can only find "product preferences&...
GILO Technologies's user avatar
1 vote
0 answers
150 views

How to get canonical filename on a case-insensitive filesystem?

Imagine I have a file foO/bar.txt. On a case-insensitive filesystem, I'm able to open the file as FOO/BaR.tXt. Now I would like to detect the "canonical" filename (foO/bar.txt), so I could ...
umläute's user avatar
  • 28.4k
0 votes
1 answer
25 views

Partial Case-Insensitive String Search in R

I have a spotify$gens column where it contains all the descriptions of genres of each album. For example: head(spotify$gens) gives gens = c("Jazz Fusion", "Latin Rock, Progressive Rock&...
Melody's user avatar
  • 11
0 votes
2 answers
911 views

Mudblazor MudDataGrid - Make Filter case insensitive

I have been learning Blazor along with using MudBlazor controls. I really like the MudDataGrid and will be using it in an upcoming project. The one thing the business wants is to be able to search/...
JimboJones's user avatar
0 votes
3 answers
183 views

startsWith Case sensitive

Can't find a solution to this which seems simple enough. I have user input field and want to check the user has prefixed the code asked for with an S (example code S123456 so I want to check to make ...
RobertMallett's user avatar
0 votes
2 answers
52 views

I'm trying to allow the user to ignore the case for my text-based game in Python for a class

I know about .lower() and .upper() but no matter what they don't seem to work and they just cause my directions to not work at all. Any help would be appreciated as this is for a project due Sunday ...
Corey's user avatar
  • 1
0 votes
1 answer
412 views

Unable to load the data from json files to bigquery, as the jsons have same key with different cases

Our Data is in GCS bucket in new line delimited jsons. We create external and native tables in bigquery using those buckets as source. While loading the data we are getting an error the json can not ...
Kruti Vyas's user avatar
1 vote
1 answer
75 views

Using Filter function in Google Sheets to filter cels that contain a certain value

I am trying to use the filter function or any related function in order to filter all values that contain that value, but for some reason I am not succeeding yet. To use an example, in the list below ...
Marc Lonsain's user avatar
4 votes
0 answers
81 views

Are there any strings that break `s1.equalsIgnoreCase(s2) == (s1.toLowerCase(Locale.US) == s2.toLowerCase(Locale.US))` [duplicate]

I'm trying to address a hypothetical concern brought up by a coworker, regarding case-insensitive comparisons versus using toLowerCase. Wherever possible, we try to use equalsIgnoreCase (or whatever ...
Dylan's user avatar
  • 13.5k
0 votes
0 answers
13 views

MongoDB: is it possible to make a case-insensitivty query for a whole collection or a field?

I want to make a make a case-insensitivty query in mongodb that accecpt (RED,red,Red) but I have a large data set , I can't make a case for each color. I want a solution to make case sentivity for ...
Z_a's user avatar
  • 1
-1 votes
1 answer
87 views

how do i use an array of pointers in c?

Basically i have an array of strings and i need to check if they are arranged in lexographic order (case insensitive of upper or lower case, meaning it doesn't matter which one it is). For that I took ...
rachel's user avatar
  • 1
-1 votes
1 answer
57 views

Case-insensitive comparison of lists [duplicate]

I want to make a code that to see if each new username has already been used in a website. I have this code: current_users = ['Rachel', 'Ross', 'Chandler', 'Joey', 'Monica'] new_users = ['Janice', '...
DR8's user avatar
  • 117
0 votes
1 answer
164 views

Case-insensitive wildcard search with Elasticsearch node client

I'm using Elasticsearch version 7.17.0 with node client and am trying to execute a wildcard search like so: const query: QueryDslQueryContainer = { wildcard: { 'fieldName.wildcard': '*...
mojones101's user avatar

1
2 3 4 5
23