I now use ImHex after looking for years for a good one. It has a pattern language to provide highlighting.
HN discussion: https://news.ycombinator.com/item?id=2072899
And if you don't mind paying, there's also "Synalyze It", which allows you to build the pattern language via the GUI:
I tried it a few years ago as a free alternative to 010editor and it was a bit unstable. But I see it is under active development, so maybe the issues have been fixed.