Test, validate and match regular expressions
Matches YouTube video identifiers prefixed with 'yt' followed by a single lowercase version letter. The named capture group 'ytVer' grabs the version character, while 'ytID' captures the 8-11 character video ID consisting of letters, digits, hyphens, or underscores. With global and multiline flags, it scans every line of input to extract all YouTube video references, useful in text parsing or log analysis.