inukshuk/bibtex-ruby — pull request #55 by RubenVerborgh (2012-06-28 12:01:06+00:00)
Title: Syntax error in regular expression

The gem fails in Ruby 1.8 with error message:

SyntaxError: /usr/lib/ruby/gems/1.8/gems/bibtex-ruby-2.0.11/lib/bibtex/lexer.rb:63: nested *?+ in regexp: /[[:alpha:]\d \/:_!$\?\.%&\*-]+*,/

In 1.9, you get the warning:

/Users/ruben/.rbenv/versions/1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36: warning: nested repeat operator + and * was replaced with '*': /[[:alpha:]\d \/:_!$\?\.%&\*-]+*,/

This commit corrects the regular expression.