Private GIT

Skip to content
Snippets Groups Projects
Commit 9559c6af authored by Florent CHAMAULT's avatar Florent CHAMAULT
Browse files

Update Regexes.py

Bonsoir,
Suite a une demande sur un commit, j'ai trouvé par moi même le changement a faire pour résoudre le problème sur le commit https://github.com/sarakha63/Sick-Beard/commit/7760ec7f4f2651ccd8fe33370b5e490d7e36a864

Voici le changement effectué.
<---------->
 ('standard_cpas_bien',
               # [www.Cpasbien.me] Dexter.S07E04.FRENCH.LD.HDTV.XviD-MiNDe
               '''
               \[[a-zA-Z0-9\.\s]{2,20}\][. _-]+
               (?P<series_name>.+?)[. _-]+                # Show_Name and separator
               s(?P<season_num>\d+)[. _-]*                 # S01 and optional separator
               e(?P<ep_num>\d+)                            # E02 and separator
               [. _-]*((?P<extra_info>.+?)                 # Source_Quality_Etc-
               ((?<![. _-])(?<!WEB)                        # Make sure this is really the release group
               -(?P<release_group>[^- ]+))?)?$              # Group
               '''),
<---------->
Ajout d'un \s dans la regel pour le [ www.Cpasbien.me ]

Cordialement
parent 47ef2de5
Branches
Tags
No related merge requests found
...@@ -73,7 +73,7 @@ ep_regexes = [ ...@@ -73,7 +73,7 @@ ep_regexes = [
('standard_cpas_bien', ('standard_cpas_bien',
# [www.Cpasbien.me] Dexter.S07E04.FRENCH.LD.HDTV.XviD-MiNDe # [www.Cpasbien.me] Dexter.S07E04.FRENCH.LD.HDTV.XviD-MiNDe
''' '''
\[[a-zA-Z0-9\.]{2,20}\][. _-]+ \[[a-zA-Z0-9\.\s]{2,20}\][. _-]+
(?P<series_name>.+?)[. _-]+ # Show_Name and separator (?P<series_name>.+?)[. _-]+ # Show_Name and separator
s(?P<season_num>\d+)[. _-]* # S01 and optional separator s(?P<season_num>\d+)[. _-]* # S01 and optional separator
e(?P<ep_num>\d+) # E02 and separator e(?P<ep_num>\d+) # E02 and separator
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment