Jimbly / regex-crossword

Implementation of a RegExp crossword.
287 stars 27 forks source link

just-capture-group runs should be one or more #17

Closed softwareCobbler closed 3 years ago

softwareCobbler commented 3 years ago

Hi, this is neat, having fun at lunch trying to solve it.

Should runs that are just a single capture group, such as the one in the top row (E|RC|NM)* be (E|RC|NM)+? Or notably the .* should be .+?

Jimbly commented 3 years ago

That's how they were phrased in the original puzzle, perhaps because it gives a bit of a hint that the regexs must be a full match not substring, otherwise most everything would just match. For a full match, .* and .+ are identical, but I agree that .+ feels a little more readable to me. But, since the primary goal of this is just a digital version of the original puzzle, I think it's probably best to leave the clues as-is.