On the Subject of Regular Hexplanations

“Hello, I would like (an|\d)\sapples? please...”

  • For use by those familiar with the original manual.
  • Call the initial row and column Ri and Ci respectively.
  • Rf = (Ri + ([# of solvable modules] % 11 + 1)) % 12
  • Cf = (Ci + (([# of batteries] + [# of indicators]) % 5 + 1)) % 6
  • The four regexes are located in <Ri, Ci>, <Ri, Cf>, <Rf, Ci>, and <Rf, Cf>.
  • Remember that you must start with the northwest regex first and go clockwise.
  • Tip: Cycling vertices will always make them go clockwise as they appear on the module. Cycling the top face will always have the order +*.?.
  • An explanation of each regex can be found in pages 2, 3, and 4.
Table 1: Regular expressions.
Some regexes are split across multiple lines in their cells.
For example, the regex in row 4, column 1 is .*[^AEIOU][^AEIOU].*.
012345
0 .*O.*H.* .... .*[^O]N.* A.* .*O.*E.* .*(ER|RE).*
1 .*R[^E].* [^ASTERISK]+ .*[AEIOU].[AEIOU].* .*(OW|WO).* .*M[^O].* .*W(HA|HI|A).*
2 .*O .*OT.* ....? .*[OU][MN].* .*E .*F.*T.*
3 ..... .*[^O]T.* D.* .*I.*T.* .*(FI|IF).* .*F[^O].*
4 [^BRACKET]+ .*[^AEIOU][^AEIOU].* .*(NO|ON).* .*U[^G].* .*OL?[DT].* .*[AEIOU][AEIOU].*
5 .*HT.* .....? .*[BT][OE].* .*H .*OW.* ......
6 .*[^H]T.* H.* .*B.*T.* .. .*B[^O].* [^REFUTE]+
7 .*[^AEIOU][^AEIOU]. .*(OT|TO).* .*O[^W].* [^STRAIGHT]+ .*[AEIOU]
.*[AEIOU].*
.*TH.*
8 (..)?. .*L[AEIOU].* .*P .*ON.* ..? .*[^E]A.*
9 W.* .*F.*R.* ... .*I[^N].* [^ELIMINATE]+ [^AEIOU][^AEIOU].*
10 .*(HT|TH).* .*E[^A].* [^QUESTION]+ .*[AEIOU] .*DI.* .*O[^T].*
11 .[AEIOU]. .*Y .*OR.* ...? .*[^S]T.* U.*

Comprehending Regular Expressions

There is no way for me to prepare for the torrent of sounds that will arise from this table...
Oh yeah, right. I forgot. Y is not considered a vowel.

<R,C>RegexThe word must...
<0,0>.*O.*H.*contain an O eventually followed by an H.
<0,1>....be exactly 4 characters long.
<0,2>.*[^O]N.*contain an N immediately preceded by a letter other than O.
<0,3>A.*begin with an A.
<0,4>.*O.*E.*contain an O eventually followed by an E.
<0,5>.*(ER|RE).*contain the sequence ER or RE.
<1,0>.*R[^E].*contain an R immediately followed by a letter other than E.
<1,1>[^ASTERISK]+not share a letter with ASTERISK.
<1,2>.*[AEIOU].[AEIOU].*contain two vowels separated by one letter.
<1,3>.*(OW|WO).*contain the sequence OW or WO.
<1,4>.*M[^O].*contain an M immediately preceded by a letter other than O.
<1,5>.*W(HA|HI|A).*contain the sequence WHA, WHI, or WA.
<2,0>.*Oend with an O.
<2,1>.*OT.*contain the sequence OT.
<2,2>....?be 3 or 4 characters long.
<2,3>.*[OU][MN].*contain the sequence OM, ON, UM, or UN.
<2,4>.*Eend with an E.
<2,5>.*F.*T.*contain an F eventually followed by a T.
<3,0>.....be exactly 5 characters long.
<3,1>.*[^O]T.*contain a T immediately preceded by a letter other than O.
<3,2>D.*begin with a D.
<3,3>.*I.*T.*contain an I eventually followed by a T.
<3,4>.*(FI|IF).*contain the sequence FI or IF.
<3,5>.*F[^O].*contain an F immediately followed by a letter other than O.
<R,C>RegexThe word must...
<4,0>[^BRACKET]+not share a letter with BRACKET.
<4,1>.*[^AEIOU][^AEIOU].*contain 2 adjacent consonants.
<4,2>.*(NO|ON).*contain the sequence NO or ON.
<4,3>.*U[^G].*contain a U immediately followed by a letter other than G.
<4,4>.*OL?[DT].*contain the sequence OD, OT, OLD, or OLT.
<4,5>.*[AEIOU][AEIOU].*contain 2 adjacent vowels.
<5,0>.*HT.*contain the sequence HT.
<5,1>.....?be 4 or 5 characters long.
<5,2>.*[BT][OE].*contain the sequence BO, BE, TO, or TE.
<5,3>.*Hend with an H.
<5,4>.*OW.*contain the sequence OW.
<5,5>......be exactly 6 characters long.
<6,0>.*[^H]T.*contain a T immediately preceded by a letter other than H.
<6,1>H.*begin with an H.
<6,2>.*B.*T.*contain a B eventually followed by a T.
<6,3>..be exactly 2 characters long.
<6,4>.*B[^O].*contain a B immediately followed by a letter other than O.
<6,5>[^REFUTE]+not share a letter with REFUTE.
<7,0>.*[^AEIOU][^AEIOU].end with 2 adjacent consonants followed by any letter.
<7,1>.*(OT|TO).*contain the sequence OT or TO.
<7,2>.*O[^W].*contain an O immediately followed by a letter other than W.
<7,3>[^STRAIGHT]+not share a letter with STRAIGHT.
<7,4>.*[AEIOU].*[AEIOU].*contain 2 vowels (in general).
<7,5>.*TH.*contain the sequence TH.
<R,C>RegexThe word must...
<8,0>(..)?.be 1 or 3 characters long.
<8,1>.*L[AEIOU].*contain the sequence LA, LE, LI, LO, or LU.
<8,2>.*Pend with a P.
<8,3>.*ON.*contain the sequence ON.
<8,4>..?be 1 or 2 characters long.
<8,5>.*[^E]A.*contain an A immediately preceded by a letter other than E.
<9,0>W.*begin with a W.
<9,1>.*F.*R.*contain an F eventually followed by an R.
<9,2>...be exactly 3 characters long.
<9,3>.*I[^N].*contain an I immediately followed by a letter other than N.
<9,4>[^ELIMINATE]+not share a letter with ELIMINATE.
<9,5>[^AEIOU][^AEIOU].*begin with 2 consonants.
<10,0>.*(HT|TH).*contain the sequence HT or TH.
<10,1>.*E[^A].*contain an E immediately followed by a letter other than A.
<10,2>[^QUESTION]+not share a letter with QUESTION.
<10,3>.*[AEIOU]end with a vowel.
<10,4>.*DI.*contain the sequence DI.
<10,5>.*O[^T].*contain an O immediately followed by a letter other than T.
<11,0>.[AEIOU].be exactly 3 characters long, the 2nd of which is a vowel.
<11,1>.*Yend with a Y.
<11,2>.*OR.*contain the sequence OR.
<11,3>...?be 2 or 3 characters long.
<11,4>.*[^S]T.*contain a T immediately followed by a letter other than S.
<11,5>U.*begin with a U.