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] bad tests: Regular Expressions: Specify Only the Lower Number of Matches

See original GitHub issue

challenge has insufficient tests. Challenge instructions:

Change the regex haRegex to match the word “Hazzah” only when it has four or more letter z’s.

/z{4}/ is enough to pass, whereas I think it should be more like /Haz{3,}ah/

Found this while testing #35747 locally, tested on .rocks with same results.

Tell us about your browser and operating system:

  • Browser Name: Chromium
  • Browser Version: Version 72.0.3626.121 (Official Build) Built on Ubuntu , running on Ubuntu 16.04 (64-bit)
  • Operating System: crouton running on chromebook - Ubuntu 16.04.6 LTS

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
moT01commented, May 15, 2019

That will happen - things get a little fuzzy after a whole day of screen time

1reaction
RandellDawsoncommented, May 8, 2019

@nikrb Don’t you mean it should be /Haz{4,}ah/ ?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Regular Expressions: Specify Only the Lower Number of ...
On the challenge entitled "Regular Expressions: Specify Only the Lower Number of Matches" the instructions say to "Change the regex haRegex to ...
Read more >
Specify Only the Lower Number of -Matches - JavaScript
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/regular-expressions/specify-only-the-lower-number-of-matches.
Read more >
freeCodeCamp solutions - Regular Expressions (18 - 33)
In this video series I am going to go through the exercises in the Freecodecamp's curriculum, for JavaScript Algorithms and Data ...
Read more >
Order of Operations in Regular Expressions (solving a ...
Usernames can only use alpha-numeric characters. · The only numbers in the username have to be at the end. There can be zero...
Read more >
14 Strings | R for Data Science: Exercise Solutions
Solutions to the exercises in “R for Data Science” by Garrett Grolemund and Hadley Wickham.
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