pub static ID_PATTERNS: [&'static Lazy<Regex>; 5]
Expand description

A list of possible YouTube video identifier patterns.

Guarantees:

  • each pattern contains an id group that will always capture when the pattern matches
  • The captured id will always match following regex (defined in ID_PATTERN): ^[a-zA-Z0-9_-]{11}$