summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2014-12-10 23:25:20 -0500
committerKyle Meyer <kyle@kyleam.com>2014-12-10 23:25:20 -0500
commit75b81b6593abeb392d155712734bb5433376aa6d (patch)
tree5ce26a94a8ba160c1e110eded5b785deb7499e2b
parentc98e68c9a63c6524ab158ed88849d613522d5db7 (diff)
downloadbog-75b81b6593abeb392d155712734bb5433376aa6d.tar.gz
Remove leading digits from bog-citekey-format
I originally allowed leading digits to account for a case where a consortium's name started with a number. However, looking back at this, I don't think it makes sense to change the default format for such a rare case.
-rw-r--r--bog.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/bog.el b/bog.el
index 138a181..c57acba 100644
--- a/bog.el
+++ b/bog.el
@@ -41,7 +41,7 @@
:group 'org)
(defcustom bog-citekey-format
- "\\([0-9]*[a-z]+[-a-z]*\\)\\([0-9]\\{4\\}\\)\\([a-z][a-z0-9]*\\)"
+ "\\([a-z]+[-a-z]*\\)\\([0-9]\\{4\\}\\)\\([a-z][a-z0-9]*\\)"
"Regex used to match study citekey.
By default, this matches any sequence of lower case