I was looking at some custom code to read a binary file today and realized that surely this should be a job for a regular language, similar to regexs for matching, extracting data from text.
Is there anything like this? A fairly standard convention for notating a regular language to parse binary files? Particularly one which has implementations / wrappers in several programming languages?