question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ignoreCase = true (default behavior) lowercases all user input

See original GitHub issue

This code in Async.js causes all user input to be toLowerCase’d:

if (ignoreCase) {
  inputValue = inputValue.toLowerCase();
}

Why does this exist? If A user types an uppercase character and a lowercase character is printed, that would be confusing for the user. I’m happy to submit a PR removing this conditional unless there is a workaround I’m not aware of or if there is a valid reason for this code.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:21
  • Comments:11 (1 by maintainers)

github_iconTop GitHub Comments

6reactions
erfangccommented, Nov 3, 2016

+1

2reactions
not-an-aardvarkcommented, Jul 5, 2017
Read more comments on GitHub >

github_iconTop Results From Across the Web

IgnoreCase
IgnoreCase is an option for string manipulation and searching functions that specifies whether lowercase and uppercase letters should be treated as ...
Read more >
Python - Ignore letter case
For this simple example you can just compare lowercased rules with "yes" : rules = input ("Would you like to read the instructions?...
Read more >
7/14: How to make the user's response case-insensitive?
you can make the user input all uppercase or all lowercase by. prompt(…).toUpperCase() or .toLowerCase() and then change the cases accordingly.
Read more >
How to do case-insensitive and accent-insensitive search ...
To find all the people who have Barry for any of their names, you can (upper- or) lowercase the column and search string:...
Read more >
MATLAB caseSensitivePattern
Use caseSensitivePattern to enforce case sensitivity in case-insensitive functions. Create a string of lowercase letters. Create a pattern that matches ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found