/; foliosec=[a-z]+;/but I was too lazy to find out if semi-colons need to be escaped (as seems likely), didn't want to start faffing around with regex voodoo, and was tickled by the one-caricature fix (apologies to bastard for that).
And it really isn't voodoo; it's a very easy language to learn.