@@ -103,15 +103,15 @@ repos:
103103 - id : validate-author
104104 name : " 'Author' must be list of 'Name <email@example.com>, ...'"
105105 language : pygrep
106- entry : ' (?<=\n)Author:(?:(?!((( +|\n {8})[^!#$%&()*+,/:;<=>?@\[\\\]\^_`{|}~]+( <[\w!#$%&'' *+\-/=?^_{|}~.]+(@| at )[\w\-.]+\.[A-Za-z0-9]+>)?)(,|(?=\n[^ ])))+\n(?=[A-Z])))'
106+ entry : ' (?<=\n)Author:(?:(?!((( +|\n {1, 8})[^!#$%&()*+,/:;<=>?@\[\\\]\^_`{|}~]+( <[\w!#$%&'' *+\-/=?^_{|}~.]+(@| at )[\w\-.]+\.[A-Za-z0-9]+>)?)(,|(?=\n[^ ])))+\n(?=[A-Z])))'
107107 args : [--multiline]
108108 files : ' ^pep-\d+\.rst$'
109109 types : [text]
110110
111111 - id : validate-author-legacy
112112 name : " Legacy 'Author' must be a list of names/emails"
113113 language : pygrep
114- entry : ' (?<=\n)Author:(?:(?!((((( +|\n {8})[^!#$%&()*+,/:;<=>?@\[\\\]\^_`{|}~]+( <[\w!#$%&'' *+\-/=?^_{|}~.]+(@| at )[\w\-.]+\.[A-Za-z0-9]+>)?)(,|(?=\n[^ ])))+)|(((( +|\n {8})[\w!#$%&'' *+\-/=?^_{|}~.]+(@| at )[\w\-.]+\.[A-Za-z0-9]+) \(([^!#$%&()*+,/:;<=>?@\[\\\]\^_`{|}~]+)\)(,|(?=\n[^ ])))+))\n(?=[A-Z])))'
114+ entry : ' (?<=\n)Author:(?:(?!((((( +|\n {1, 8})[^!#$%&()*+,/:;<=>?@\[\\\]\^_`{|}~]+( <[\w!#$%&'' *+\-/=?^_{|}~.]+(@| at )[\w\-.]+\.[A-Za-z0-9]+>)?)(,|(?=\n[^ ])))+)|(((( +|\n {1, 8})[\w!#$%&'' *+\-/=?^_{|}~.]+(@| at )[\w\-.]+\.[A-Za-z0-9]+) \(([^!#$%&()*+,/:;<=>?@\[\\\]\^_`{|}~]+)\)(,|(?=\n[^ ])))+))\n(?=[A-Z])))'
115115 args : [--multiline]
116116 files : ' ^pep-\d+\.(rst|txt)$'
117117 types : [text]
@@ -183,7 +183,7 @@ repos:
183183 - id : validate-post-history
184184 name : " 'Post-History' must be '`DD-mmm-YYYY <Thread URL>`__, ...'"
185185 language : pygrep
186- entry : ' (?<=\n)Post-History:(?:(?! ?\n|((( +|\n {14})(([0-2][0-9]|(3[01]))-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(199[0-9]|20[0-9][0-9])|`([0-2][0-9]|(3[01]))-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(199[0-9]|20[0-9][0-9]) <https://((discuss\.python\.org/t/([\w\-]+/)?\d+/?)|(mail\.python\.org/pipermail/[\w\-]+/\d{4}-[A-Za-z]+/[A-Za-z0-9]+\.html)|(mail\.python\.org/archives/list/[\w\-]+@python\.org/thread/[A-Za-z0-9]+/?))>`__)(,|(?=\n[^ ])))+\n(?=[A-Z\n]))))'
186+ entry : ' (?<=\n)Post-History:(?:(?! ?\n|((( +|\n {1, 14})(([0-2][0-9]|(3[01]))-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(199[0-9]|20[0-9][0-9])|`([0-2][0-9]|(3[01]))-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(199[0-9]|20[0-9][0-9]) <https://((discuss\.python\.org/t/([\w\-]+/)?\d+/?)|(mail\.python\.org/pipermail/[\w\-]+/\d{4}-[A-Za-z]+/[A-Za-z0-9]+\.html)|(mail\.python\.org/archives/list/[\w\-]+@python\.org/thread/[A-Za-z0-9]+/?))>`__)(,|(?=\n[^ ])))+\n(?=[A-Z\n]))))'
187187 args : [--multiline]
188188 files : ' ^pep-\d+\.(rst|txt)$'
189189 types : [text]
0 commit comments