We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d143613 commit 042e83bCopy full SHA for 042e83b
bin/prebib
@@ -55,7 +55,8 @@ REGEX_WARNINGS = {
55
# Authors should just list the title of the conference/workshop.
56
".*[Pp]roc\.", ".*[Pp]roceedings", ".*[Ww]orkshop"
57
],
58
- "author" : [".*[Ee]dward [Bb]arrett"] # Prefer "Edd"
+ "author" : [".*[Ee]dward [Bb]arrett"], # Prefer "Edd"
59
+ "id": [r"^\w+\d\d\d\d"], # Years in keys should be in two-digit format.
60
}
61
62
ALWAYS_WARN_IF_MISSING = [ "year", "author", "title" ]
@@ -150,6 +151,7 @@ class PreBib:
150
151
152
def regex_warn(self, key, data):
153
""" Warn about common errors that can be detected by regex """
154
+
155
for (f, v) in data.items():
156
if f == "author": # library splits authors
157
v = u"and".join([ u" ".join(x) for x in v])
0 commit comments