From 75b81b6593abeb392d155712734bb5433376aa6d Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Wed, 10 Dec 2014 23:25:20 -0500 Subject: 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. --- bog.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3