Test, validate and match regular expressions
Matches filenames or file paths that end with the double extension '.mkv.mks', capturing the preceding path or name in a group. Typically used in file management, batch processing, or media organization scripts where .mks files (Matroska subtitle files) are associated with their corresponding .mkv video files. With the multiline flag, it processes each line of text input separately.