Test, validate and match regular expressions
Matches OmegaT project naming conventions consisting of five underscore-separated segments: program name (lowercase letters), cycle (lowercase alphanumeric with hyphens), batch, and locale (both alphanumeric with hyphens), ending with a required suffix of 'omt' (OmegaT project), 't1'/'t2' (translation tiers), or 'rec' (recordings). Each segment is captured via named groups for easy extraction. Useful for validating and parsing translation project filenames or directory names line-by-line.