4 ms·
Cool game, it really helped me brush up my regex skills. I think I found an error in “The Lektor Device“: The “I“ in “WITH” could also be a “T” from the rules,
by mfsch 12y ago
Cool game, it really helped me brush up my regex skills.
I think I found an error in “The Lektor Device“: The “I“ in “WITH” could also be a “T” from the rules, but only the “I” is accepted.
- kbuck 12y agoThe "I" can't be "T" because the regex on the bottom (.(\sSAI).*) forces it to be "I".
- vsah 12y agoNo in this case the regex on the bottom only applies the . to the square in question while the \sSAI in question applies to the second square. It seems that it could be a I or a T.
- kbuck 12y ago(\sSAI) is a group, not a character class. It matches the fixed string " SAI" and stores it in a group. If it were [\sSAI], you'd be correct.