Jimbly / regex-crossword

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

Switch "R" and "C" in (E|RC|NM)* #9

Closed tessi closed 3 years ago

tessi commented 3 years ago

Hey, thanks for your puzzle, it was fun to attempt 💚 I think I found a typo in the exercise:

The (E|RC|NM)* pattern, specifically the RC in it, should be CR.

This is because of two reasons.

  1. We can conclude that the very last cell must be an R due to the other two constraints on that row.

    Image hidden, as it contains spoilers. Click to expand! Screenshot 2021-03-12 at 22 14 11

  2. This is how the original puzzle defines it ;)

    Image hidden, as it contains spoilers. Click to expand! Screenshot 2021-03-12 at 22 25 20

maebert commented 3 years ago

In the original puzzle, the clues on the diagonal go from top to bottom. In this version, they go from bottom to top, hence all regexes on this diagonal are "reversed". Note for example on the top left it's (ND|ET|IN)[^X]* in the original but [^X]*(DN|TE|NI) in the JS version here :)

tessi commented 3 years ago

uh, that makes sense. thanks!