[Refdb-cvs] CVS: elisp ris.el,1.6,1.7
Status: Beta
Brought to you by:
mhoenicka
From: Markus H. <mho...@us...> - 2005-05-08 14:33:51
|
Update of /cvsroot/refdb/elisp In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26372 Modified Files: ris.el Log Message: improved author syntax check Index: ris.el =================================================================== RCS file: /cvsroot/refdb/elisp/ris.el,v retrieving revision 1.6 retrieving revision 1.7 diff -u -U2 -r1.6 -r1.7 --- ris.el 8 May 2005 01:05:21 -0000 1.6 +++ ris.el 8 May 2005 14:33:42 -0000 1.7 @@ -81,6 +81,6 @@ ("^\\(PY\\|Y1\\|Y2\\) - \\([0-9][0-9][0-9][0-9]/\\([0-1][0-9]\\)?/\\([0-3][0-9]\\)?/.\\{0,255\\}\\)" 2 'ris-pubyear-face t) -;; corporate authors do not use a comma. Other authors may use up to two commas, the first to separate first and middle names from the last name, the second to separate an optional suffix. Currently no length checking is implemented - ("^\\(AU\\|A1\\|A2\\|A3\\|ED\\) - \\(\\([^,\n]+,[^,\n]+\\(,[^,\n]+\\)?$\\)\\|\\([^,\n]+$\\)\\)" 2 'ris-author-face t) +;; corporate authors do not use a comma. Other authors may use up to two commas, the first to separate first and middle names from the last name, the second to separate an optional suffix. First and middle names may either be abbreviated (with no space following the period), or spelled out. Currently no length checking is implemented + ("^\\(AU\\|A1\\|A2\\|A3\\|ED\\) - \\(\\([^,\n]+,\\([^,\n\\. ]\\(\\.\\|[^,\\.\n]+\\)\\)+\\(,[^,\n ][^,\n]*\\)?$\\)\\|\\([^,\n]+$\\)\\)" 2 'ris-author-face t) ;; fields with a limited length of up to 255 chars |