dynarex 1.0.20 → 1.0.21
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/dynarex.rb +1 -1
- metadata +1 -1
data/lib/dynarex.rb
CHANGED
@@ -339,7 +339,7 @@ EOF
|
|
339
339
|
t = @format_mask.to_s.gsub(/\[!(\w+)\]/, '(.*)').sub(/\[/,'\[').sub(/\]/,'\]')
|
340
340
|
end
|
341
341
|
|
342
|
-
lines = buffer.strip.split(/\r?\n|\r(?!\n)/).map {|x|x.match(/#{t}/).captures}
|
342
|
+
lines = buffer.strip.split(/\r?\n|\r(?!\n)/).map {|x|x.strip.match(/#{t}/).captures}
|
343
343
|
|
344
344
|
a = lines.map do|x|
|
345
345
|
created = Time.now.to_s
|