There's a middle ground of text parsing tasks that would seem to be a good match for some sort of scanner, inspired by C's scanf, whether it uses % or {} format codes.
Maybe COBOL PICTURE clauses.
Admittedly, I've never used COBOL, but I thought that one feature looks really good.