Regex101 icon indicating copy to clipboard operation
Regex101 copied to clipboard

Task 17: Ambiguous specs

Open Voileexperiments opened this issue 3 years ago • 2 comments

The task description of Task 17 is "Only match lines with the text start, unless the text end is before that (end may or may not be in the string)". However Test 17 expects that aaa start end start should be matched.

What does "that" mean in "unless the text end is before that"? A reasonable read is "any start in the text", but it actually expects "the first start in the text". This is very ambiguous and should be clarified in the task description.

Voileexperiments avatar Jul 26 '22 01:07 Voileexperiments

How would you suggest I should clarify it?

firasdib avatar Jul 28 '22 08:07 firasdib

I would recommend perhaps doing something along the lines of "unless end appears prior to start" if I am understanding the meaning right.

sophec avatar Aug 04 '22 13:08 sophec

I've clarified this and will release it soon.

firasdib avatar Mar 12 '23 16:03 firasdib