^
and $
. Those. R+D
must be understood as ^R+D$
. The symbol ^
denotes the beginning of a line, and $
its end, thus, the expression describes the contents of all 4 cells (rows or columns) entirely.R+D
Obviously. that the 4th cell will be occupied by the symbol D
, and the first three will not be less than three R
in a row. +
after R
can be described as follows: R
must occur 1 or more times.RRRD
satisfied the regular expression ^R+D$
. Go ahead.IN
, and before that it contains an arbitrary jumble of the following dictionary: L
, I
, N
, K
, E
, D
We drive in the obvious IN
:D
from R+D
fits perfectly into this dictionary. One cell remained empty, we will return to it later.ING
or IN
. Those. in fact, we have two options. ?
G
tells us that G
may or may not be. We look into the dictionary from [LINKED]*IN
, and we do not find the symbol G
in it. Only the option with IN
remains:(ENG|INE|E|R)
, which can occur as many times as necessary (see the symbol *
). The group offers us a range of options: ENG
, INE
, E
and R
Those. the final line could be EEEE
, ERER
, ENGE
, RINE
, etc.R
from R+D
, it is also in the group. In the second cell, we have already entered the symbol I
, and it is present at the beginning of INE
. Therefore, the line will be R
+ INE
= RINE
:{0}
, where instead of 0
could be "1", "1.3", "5" and other options that regulate the possible number of repetitions. But we have 0. That is. There is simply no C
character. Ignore him.N
, therefore we enter it:R
is quite good.(LN|K|D)
, which can be repeated as many times as desired. The remarkable thing about her is that only LN
from her approaches our 4th cell. And this in turn allows us to boldly enter L
:[^WORK]
begins with the symbol ^
, i.e. it contains a list of characters that should NOT appear in this position. (LN|K|D)
contains two single letter variants, these are K
and D
We exclude the symbol K
, since he is in our denial dictionary. Only D
remains:[MBERS]
dictionary, which can be repeated as often as desired. In the first cell, we already have the symbol R
, which is in the dictionary.\1
tells us that the first group in regular expression should be duplicated on this position without changes. There is nothing between the group and \1
, it turns out that our 4 cells must contain all the same two-letter group for themselves twice in a row. For example: RRRR
, SRSR
or RSRS
.C{0}N[NECT]*
we know that the 4th cell should fit into the [NECT]
and [MBERS]
. The only intersection is the symbol E
The 4th cell is found. Consequently, the 2nd was found, i.e. Crossword solved:Congratulations! Only 12% of people who attempt this puzzle solve it
Congratulations! Only 12% of people who attempt this puzzle solve it
. I believe that 12% are taken from the ceiling.Source: https://habr.com/ru/post/279199/
All Articles