Improve SWIM custom tag regex.