Duration REGEX optimization.