[304] Tweak layout_base to match a regex's expected structure.