Optimize block parsing -- don't recreate delimiter, use strings instead of regex