Re:A regex crossword from LinkedIn Engineering
by stanmancan on Friday March 11, 2016 @11:26AM
(#11267529)
Can anyone explain what the solution is supposed to look like? What actually goes in the boxes?
[ Parent
| on HN ]
Re:A regex crossword from LinkedIn Engineering
by yadamo on Friday March 11, 2016 @11:40AM
(#11267642)
The solution is a 4x4 grid of letters where each row and column match the corresponding regexes.
So the 4 letters descending from the column marked (LN|K|D)* should match the regex ^.(LN|K|D)*$ entirely. Hope that helps.
Re:A regex crossword from LinkedIn Engineering
by ericlee4 on Friday March 11, 2016 @11:33AM
(#11267586)
You fill the characters that would be matched by the regular expression given. So the character has to match both the row/column expressions at the position where they intersect.
Re:A regex crossword from LinkedIn Engineering
by stanmancan on Friday March 11, 2016 @11:45AM
(#11267679)
Oh I gotcha. That makes more sense; I was confused since most of the expressions match more than 4 characters. Thanks!