On Jun 20, 1:44 am, Chris <chriss... at gmail.com> wrote: > Thanks for your help. Those weren't quite what I was looking for, but > I ended up figuring it out on my own. Turns out you can actually > search nested Python lists using simple regular expressions. Strange? How do you match nested '[' ... ']' brackets? - Paddy.