Support the two Lower Saxony insertion forms; NEFG now applies fully
The NEFG acceptance case left two commands as "check manually". Both are
now supported, so Lower Saxony applies 7 of 7 with no remainder.
* Lower Saxony cites inserted paragraphs with a space before the sub
number ("§ 2 a"); the rest of German legal usage writes "§ 2a", which
is what the Stelle and level parsers expect. TextBereiniger now pulls
the form together, leaving enumeration markers of the amendment act
alone ("… nach § 8 c) In Absatz 2 …").
* "In Kapitel 4 wird nach § 12 der folgende neue § 13 angefügt" — the
division only names the section the new paragraph lands in; the
anchor governs the position, as in the plain form. The optional
"neue" is now accepted in both.
Applying that insertion needed one more thing: the paragraph it creates
is only vacated by the *following* command ("Der bisherige § 13 wird
§ 14"), so in document order the two collided and the insertion was
rejected. "Bisherig" denotes the state before the amendment, so the
renumbering logically precedes the reoccupation and is now pulled ahead.
The log still lists commands in the order of the amendment act.
226 tests green; all other pinned figures unchanged.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Change-Id: I0e2ea5b0389f8002157eeb8471800da51febe739
9 files changed