Optimal Regularized Online Convex Allocation by Adaptive Re-Solving