Some regex work to ease the porting pain
port ellipse_arc