Friendship is magic like Regexp