diff options
author | Igor <pashev.igor@gmail.com> | 2010-11-04 23:39:42 +0300 |
---|---|---|
committer | Igor <pashev.igor@gmail.com> | 2010-11-04 23:39:42 +0300 |
commit | abc4029b035c307e3479967a1ab94231ea983a7e (patch) | |
tree | 986f70abd4b4b2e65f6f9b0c38d78b04f5348ff4 | |
parent | b672ba367d346b06eb09c63cc7c3b17b6db0f803 (diff) | |
download | dokuwiki-plugin-papers-abc4029b035c307e3479967a1ab94231ea983a7e.tar.gz |
Fixed regex for a BiBTeX field
-rw-r--r-- | bibtex.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -58,7 +58,7 @@ class BibtexParser $this->ENTRIES[$bibent]['id'] = strtolower($matches[2]); // e. g. $ENTRIES['pashev_2010_axiom']['entry'] = 'book' } - elseif (preg_match('/(\w+?)\s*=\s*(.*?)\s*,?$/u', $line, $matches)) + elseif (preg_match('/(\w+?)\s*=\s*(.*?)\s*,?\s*$/u', $line, $matches)) { $this->ENTRIES[$bibent][strtolower($matches[1])] = $matches[2]; /* e. g. |