added regex for checking a podcast:guid

Signed-off-by: Brian of London <brian@podping.org>
pull/306/head
Brian of London 2021-11-04 11:39:32 +02:00
rodzic 4f2c5a82f4
commit 216e055460
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 48423B1A725E6C11
1 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

@ -541,6 +541,10 @@ Using this pattern, podcasts can maintain a consistent identity across the open
* All podcasts in the Podcast Index have already been assigned a GUID; but if one exists in the RSS feed, that value is canonical.
* You can programmatically spot a GUID: it is 36 characters long, and contains four hyphen characters.
* Be aware that Amazon Music also uses UUIDv5 identifiers, which are calculated differently.
* The following regular expression (regex) will match a GUID:
```re
[0-9a-fA-F]{8}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{12}`
```
### Parent
&nbsp; `<channel>`