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.

Better RegExp rule about letter case

See original GitHub issue

With better regexp rule:

image

But as you can see, ThisIsATest is more readable than thisisatest. I suggest to add a new rule to do not warn about the letter cases.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
zloirockcommented, Aug 10, 2021

Because of non-configurability of this rule, for my cases, I replaced it with eslint-plugin-regexp.

0reactions
fiskercommented, Aug 12, 2021

I’m fine to add this option.

Read more comments on GitHub >

github_iconTop Results From Across the Web

What is the regular expression to allow uppercase/lowercase ...
I am having problems creating a regex validator that checks to make sure the input has uppercase or lowercase alphabetical characters, ...
Read more >
Regular expression syntax - Adobe Support
Regular expression syntax has several basic rules and methods. ... an uppercase letter and is followed by zero or more lowercase letters.
Read more >
Using Regular Expressions - IBM
A regular expression is a pattern which is used to match characters in a string. There are many excellent online resources which explain...
Read more >
What is the Regular Expression for all UPPERCASE letters on ...
i tried using [A-Z]+ it'll work on a single word ex: BRENTWOOD but if i put in BRENTWOOD MS its incorrect. any ideas???...
Read more >
Regular Expression (Regex) Tutorial
\w+ matches one or more word characters (same as [a-zA-Z0-9_]+ ). \. matches the dot (.) character. We need to use \. to...
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