Skip to main content

Module subtitle

Module subtitle 

Source

Modules§

regexes
Regex constants ported from LanguageParser.cs:32-34, 36. Each Lazy<Regex> corresponds to a private static readonly Regex in C#. Where the C# pattern uses a feature Rust regex lacks (duplicate named groups, lookarounds), the Rust regex is the structural superset and a sibling helper applies the missing constraint post-match. See the file header for the complete list.

Structs§

SubtitleTitleInfo
Outcome of parse_basic_subtitle / mirrors C# SubtitleTitleInfo minimum surface (the fields ParseBasicSubtitle actually populates).

Functions§

parse_basic_subtitle
Public entry: mirror C# LanguageParser.ParseBasicSubtitle (lines 252-260).
parse_language_tags
Public entry: mirror C# LanguageParser.ParseLanguageTags (lines 318-335).
parse_subtitle_language
Public entry: mirror C# LanguageParser.ParseSubtitleLanguage (lines 217-250).
parse_subtitle_language_information
Public entry: mirror C# LanguageParser.ParseSubtitleLanguageInformation (lines 262-297).