Test, validate and match regular expressions
Parses individual lines in a GEDCOM file, a standard format for exchanging genealogical data. It captures the hierarchical level number (0 or positive integer without leading zeros), an optional pointer reference (like @I1@), the tag name (alphanumeric with underscores), and any trailing value text. Useful for building family tree parsers or extracting structured data from GEDCOM exports.