Skip to content

Commit

Permalink
Losened restrictions on pages string in cite command
Browse files Browse the repository at this point in the history
  • Loading branch information
Johannes Schlichenmaier committed Mar 10, 2019
1 parent 5344fc2 commit 0639931
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/asciidoctor-bibtex/citationutils.rb
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def author_chicago authors
end

# matches a citation key, such as 'Dan2012(99-100)'
CITATION_KEY = /([^\s,()\[\]]+)(\(\d+(-\d+)*\))?/
CITATION_KEY = /([^\s,()\[\]]+)(\(.+\))?/
# matches a citation type
CITATION_TYPE = /cite|citenp/
# matches a citation list
Expand Down

0 comments on commit 0639931

Please sign in to comment.