Clarification required on more than three repetitions
See original GitHub issueChallenge reuse-patterns-using-capture-groups has an issue.
User Agent is: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:54.0) Gecko/20100101 Firefox/54.0
.
Please describe how to reproduce this issue, and include links to screenshots if possible.
I have some clarification issue.
There is some test case
Your regex should not match
"42 42 42 42"
.
which passes when my regular expression matches this string, which is an obvious bug.
Also, behaviour for extra characters around the number that’s repeated twice (like a fourth copy) is not specified in the task description, so should “12 2 23” or “42 42 42 42” match?
let repeatNum = "42 42 42 42";
let reRegex = /^(\d+)\s\1\s\1$/; // Change this line
let result = reRegex.test(repeatNum);
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Clarifying What You Heard, Asking for Repetition, and ...
Learn how to clarify what you heard, ask people to repeat themselves, and confirm your understanding in American English.
Read more >Clarification - Communication Skills | SkillsYouNeed
In communication, clarification involves offering back to the speaker the essential meaning, as understood by the listener, of what they have just said....
Read more >Regular expression for no more than two repeated letters/digits
In response to a clarification, it seems that a single regular expression isn't strictly required. In that case ...
Read more >How to Ask for Clarification - VOA Learning English
This is different from asking a person to repeat something. The person might not have explained themselves clearly, for example.
Read more >Clarification of Support vs. Cueing and Prompting Terms
If repeated more than once, the teacher will need to specify the number of additional repetitions and list them as a support. Repetitions...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@erictleung Made the change here: #15515
@dakshshah96 yes, that’d be great!