The Answer in "How to highlight (color/draw attention to) a particular snippet in Minted" is very helpful. But, is there a way to highlight lines in minted on a pattern?
E.g. not to say "highlightlines={1,2-3,5-10}", but say somthing like "highlightlinesregex={/def .*:/}"
Thanks for your ideas in advance
Thomas