lib/ugigi/scheme.rb in ugigi-0.3.2 vs lib/ugigi/scheme.rb in ugigi-0.3.3
- old
+ new
@@ -14,11 +14,11 @@
def initialize(element)
@element = element
end
def to_sosowa_index
- log = @element["link"].scan(/log=(\d+?)/)[0][0].to_i
- key = @element["link"].scan(/key=(\d+?)/)[0][0].to_i
+ log = @element["link"].scan(/log=(\d+)/)[0][0].to_i
+ key = @element["link"].scan(/key=(\d+)/)[0][0].to_i
index = {
"log" => log,
"key" => key,
"title" => @element["title"],
"author" => @element["author"],
\ No newline at end of file