Static rustube::ID_PATTERNS
source · [−]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}$