Fix printing nodes without regexp