lib/relaton/processor.rb in rfcbib-0.2.1 vs lib/relaton/processor.rb in rfcbib-0.2.2
- old
+ new
@@ -3,10 +3,10 @@
module Relaton
module RfcBib
class Processor < Relaton::Processor
def initialize
@short = :rfcbib
- @prefix = /^(IETF Standard )?(RFC|I-D\.?|I\.-D\.) /
+ @prefix = /^(IETF (Standard )?)?(RFC |I-D\.-)/
end
def get(code, date, opts)
::RfcBib::RfcBibliography.get(code, date, opts)
end