Fix: generic regex for deep recursion do not consider newlines.