Applying the new regex builder to flow control statements