Fix regex in test helper
Fix regex in test helper

I'd forgotten that Python's regex engine doesn't look for the longest
matchm instead it tries the alternatives in order.

Constructing the regexp by using the randomized dictionary iteration order
was therefore not a good idea.

mgedmin/cloneall