Test, validate and match regular expressions
Validates ALT (alternate allele) fields in VCF 4.1 files by matching either literal DNA sequences made up of A, C, G, T, and N characters (case-insensitive bases), or symbolic structural variant alleles enclosed in angle brackets such as <DEL>, <DUP:TANDEM>, <INV>, <INS:ME>, or <CNV>. Commonly used in bioinformatics pipelines for variant validation, structural variant annotation, and parsing genotype records. The multiline flag enables matching each allele on its own line, with the global flag finding all occurrences.