_plugins/references.rb
# return hash of label => link with keys normalised to lower case
return hash of label => link with keys normalised to lower case
return hash of label = > link with keys normalised to lower case
def labels_from(s)
        h = {}
        s.scan(LABEL_REGEX).flatten.each_slice(2) { |k| k.first.downcase!; h.store(*k) }
        h
      end
def labels_from ( s ) h = { } s . scan ( LABEL_REGEX ) . flatten . each_slice ( 2 ) { | k | k . first . downcase! ; h . store ( * k ) } h end
return hash of label => link with keys normalised to lower case
return hash of label = > link with keys normalised to lower case
s