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.

Challenge match-single-characters-not-specified has an issue. User Agent is: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36. Please describe how to reproduce this issue, and include links to screenshots if possible.

Not sure what the test string has 9 characters that are not a number or letter, but I believe my code is correct. Usually the tests will say “xyz” should result in “123”. When this test is ran, you can not see what was used in the test.

image



let quoteSample = "3 blind mice.";
let myRegex = /[^a-z0-9]/gi; // Change this line
let result = quoteSample.match(myRegex); // Change this line

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
Greenheartcommented, Feb 2, 2017

@erictleung Sounds like a good idea! We need more of those - the ones I opened yesterday melt away in a few hours 😄

0reactions
erictleungcommented, Feb 2, 2017

@Greenheart yeah, I can create issues for them for first timers. I think the change I’ve suggested affects more than just this one 😄

Read more comments on GitHub >

github_iconTop Results From Across the Web

Bug with RegExp.test (JavaScript) - Stack Overflow
The issue is that you are using /g in your Regexp - when this is used, and the regex is executed multiple times,...
Read more >
Why is my regex working intermittently? - DEV Community ‍ ‍
Nasty weird bugs caused by silly things. ... When the RegExp test method is run with global flag (/g), the regex keeps internally...
Read more >
bug report - Regex Tester/Debugger
Regex Tester isn't optimized for mobile devices yet. You can still take a look, but it might be a bit quirky. > Okay!....
Read more >
What do regular expression bugs look like? - Chuniversiteit.nl
A bug due to suboptimal or incorrect usage of a regex API (9.3%), e.g. deprecated APIs, wrong flags, lack of input/output validation, or ......
Read more >
Demystifying regular expression bugs | SpringerLink
We conduct an empirical study of 356 regex-related bugs from merged pull requests in Apache, Mozilla, Facebook, and Google GitHub repositories.
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