# Why aren't these hyphenation \patterns applied in lualatex?

I'm compiling the following code in lualatex, and looking at the console log for the output of `\showhyphens`:

``````\language=99
\lefthyphenmin=1
\righthyphenmin=1
%\patterns{a9b ba}  % L1: ba-ba-ba-ba-ba-ba
%\patterns{a9b}  % L2: ba-ba-ba-ba-ba-ba
%\patterns{ba a9b}  % L3: ba-ba-ba-ba-ba-ba
\patterns{ba} \patterns{a9b}  % L4: babababababa
\showhyphens{babababababa}
\makeatletter\@@end
``````

I don't understand the difference between L3 and L4, in particular why aren't there any hyphens in L4?

• well that's a good question. – David Carlisle Jan 13 at 21:44
• @DavidCarlisle One for the luatex list? – egreg Jan 13 at 22:25
• @egreg yes I think so – David Carlisle Jan 13 at 22:26
• @DavidCarlisle Indeed: if we try `\patterns{a9b}\patterns{ba}` the output is `ba-ba-ba-ba-ba-ba` as expected. Also `\patterns{ab} \patterns{b9a}` gives `b-ab-ab-ab-ab-ab-a` – egreg Jan 13 at 22:37
• – David Carlisle Jan 14 at 0:06