Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 735 results for
case-insensitive
- Page 1
Case insensitive 'sed' and 'tr'?
Programming
Software Development
17 Years Ago
by NonProgrammer
… part. The part Im stuck with is making it
case
insensitive
. 1. so that
case
doesnt matter to the trasformation; and 2. then… the changed word/letters keeping the same
case
pattern it had before it was transformed. Cheers in advance…
Case-insensitive Username Changing
Community Center
Meta DaniWeb
10 Years Ago
by Assembly Guy
… the username is already taken. I understand that it's
case
insensitive
so that someone can't call themself 'dani' (all lowercase… if you own the username already, you can change the
case
of it? As I write this, I'm convincing myself…
Re: Case insensitive highlighting
Programming
Software Development
16 Years Ago
by Narue
… several options. Here are a few: [LIST] [*]Create your own
case
insensitive
traits class and apply that to your strings. [*]Convert all… of your strings to one
case
before doing comparisons. [*]Forget about the string specific search member…
Re: Case-insensitive Username Changing
Community Center
Meta DaniWeb
10 Years Ago
by Ketsuekiame
Can you change it to something that isn't your name and then back to your name? But yeah, I agree, a simple logic gate that checks if your old username matches your new username (at a
case
insensitive
level) hopefully wouldn't stress the development resource too much :)
Case insensitive highlighting
Programming
Software Development
16 Years Ago
by bigbadowl
… quite large documents. Problem is: 1. It needs to be
case
insensitive
, ie: "dog" or "Dog" should match…
Case Insensitive Search - XPATH
Programming
Software Development
15 Years Ago
by Mapper99
I can't seem to get a
case
insensitive
search to work using an XPATH query. This code works: $…
case insensitive attribute name and value
Programming
Software Development
14 Years Ago
by phoenix.zhp
… "value". I know I can select element with
case
insensitive
using translate function like "//*[translate(name(), 'abc','ABC')='ABC…
Re: case insensitive search in AES encrypted column?
Programming
Databases
14 Years Ago
by calibi.yau
… binary (blob), my comparisons will automatically be
case
sensitive. Converting from binary to a
case
insensitive
type should solve my problem... but it…
What you opined about HTML either it is Case Sensitive or Case Insensitive?
Digital Media
6 Years Ago
by webguru_1
What you opined about HTML either it is
Case
Sensitive or
Case
Insensitive
?
Re: What you opined about HTML either it is Case Sensitive or Case Insensitive?
Digital Media
6 Years Ago
by pty
HTML, as stated in the standard, is
case
-
insensitive
. XHTML, like all XML, is
case
sensitive.
Strings: Case Insensitive strstr
Programming
Software Development
18 Years Ago
by Dave Sinkula
How might I write an implementation in C a
case
-
insensitive
version of the standard library function [inlinecode]strstr[/inlinecode]? Here's how I might. [url=http://www.daniweb.com/code/showsnippet.php?codeid=314]But I need it to be
case
-sensitive[/url]?
Strings: Comparing, Case-Insensitive
Programming
Software Development
18 Years Ago
by Dave Sinkula
How might I write an implementation in C of a
case
-
insensitive
version of the standard library function [inlinecode]strcmp[/inlinecode]? Here'…
Re: Case insensitive highlighting
Programming
Software Development
16 Years Ago
by Narue
… function. No, anywhere you use an object that uses the
insensitive
traits, you're stuck with it throughout the life of…
Re: Case insensitive 'sed' and 'tr'?
Programming
Software Development
17 Years Ago
by masijade
What about simply running the entire string through two tr statements. The first one transforming either the the upper or lower
case
letters, and the second one transforming the other. That would be my first suggestion, but it would definately help to see the related snippet of code.
Re: Case insensitive 'sed' and 'tr'?
Programming
Software Development
17 Years Ago
by masijade
Except for the fact that he said he wants to keep the original
case
, which that regex would not allow. I am assuming he is doing some sort of alphabet shift to quasi encode or scramble a string (at least that is what it sounds like to me since he wishes to keep the same capitalisation pattern).
Re: Case insensitive highlighting
Programming
Software Development
16 Years Ago
by bigbadowl
… it is part of a large code base that uses
case
-sensitive search in other functions. what is "STL-based…
case insensitive search in AES encrypted column?
Programming
Databases
14 Years Ago
by calibi.yau
… a table via php but having difficulty with
case
- The problem is the data I'm …match when the value of $lastname matches the
case
of the original entry. I've tried everything…for users not to have to get the
case
correct when doing a search (kind of defeats…to force the original data to a single
case
when encrypting it in the first place. Thanks…
Case insensitive vs case sensitive urls
Hardware and Software
Linux and Unix
15 Years Ago
by barbnooch
… broken web server, that URI's are defined to be
case
-sensitive. So I searched for some possible solutions to get…: [LIST=1] [*]the URI specification itself says that URLs are
case
-sensitive and why mess with specifications? [*]the two different urls…
case insensitive string
Programming
Software Development
16 Years Ago
by vijayan121
a string which can be used ala std::string, preserves
case
, but comparisons are not
case
sensitive.
Re: Case insensitive 'sed' and 'tr'?
Programming
Software Development
17 Years Ago
by sn4rf3r
you can use regular expressions in sed, this will replace all instances of findthis with replacement [code] sed -e 's/[fFiInNdDtThHiIsS]/replacement/g' [/code] give an example of a string you are looking for and we can give you an example regex to use.
Re: Case insensitive 'sed' and 'tr'?
Programming
Software Development
17 Years Ago
by sn4rf3r
my bad, missed that part.... like masijade said, i think a code sample or problem text is needed to clarify.
Re: Case-insensitive Username Changing
Community Center
Meta DaniWeb
10 Years Ago
by Ancient Dragon
>Can you change it to something that isn't your name and then back to your name? I don't think so -- as I recall we only get one crack at changing the user name.
Re: Case-insensitive Username Changing
Community Center
Meta DaniWeb
10 Years Ago
by Assembly Guy
Ancient Dragon's right, you can only change it once.
Re: Case-insensitive Username Changing
Community Center
Meta DaniWeb
10 Years Ago
by stultuske
you could always make a second user. the first you re-name, the second time you register with the 'right' capitalization, and just have a link to your other account in signature, but that might go against the rules (maybe only one account is allowed?) and is also a bit far-fetched IMHO. a name with an aberrant capitalization 'jumps to sight', and …
Re: Case-insensitive Username Changing
Community Center
Meta DaniWeb
10 Years Ago
by Dani
Sorry, I didn't see this thread until now for some reason. Bug fixed :)
Re: Case-insensitive Username Changing
Community Center
Meta DaniWeb
10 Years Ago
by Assembly Guy
Hooray, I'm normal!
Re: Case insensitive highlighting
Programming
Software Development
16 Years Ago
by bigbadowl
Hi again I now know what you meant by predicate and have found some code. This looks like the answer for me. Trouble is it requires a const string and I need to use a string pointer (string *source) Any ideas? [ICODE] bool ci_equal(char ch1, char ch2){ return toupper((unsigned char)ch1) == toupper((unsigned char)ch2); } size_t …
Re: Case insensitive highlighting
Programming
Software Development
16 Years Ago
by ivailosp
[CODE=CPP] #include <string> #include <iostream> using namespace std; bool lol(string& x, string& y) { if (x.size() != y.size()) return false; for (size_t i = 0; i < x.size(); ++i) { if (x[i] == y[i] || x[i]+32 == y[i] || x[i] == y[i]+32) continue; else return false; } return true; } int main(int argc, char …
Re: case insensitive attribute name and value
Programming
Software Development
14 Years Ago
by xml_looser
Hello to XML user xml for testing <?xml version="1.0"?> <root> <element attr='Abc'/> <element Attr='ABc'/> <element ATtr='abC'/> <element attr='ABC'/> <element attr='AbC'/> <element class='AbC'/> </root> <?xml version='1.0'?> &…
Re: case insensitive attribute name and value
Programming
Software Development
14 Years Ago
by phoenix.zhp
on my, thank you very much! you are so kindhearted!
1
2
3
13
Next
Last
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Meet People
Forums
Top Members
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC