my regexfu was not strong enough :(