10000 Merge pull request #20 from icm7216/Fix-regex-for-animation-gif · ruby-numo/numo-gnuplot@0353a49 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0353a49

Browse files
authored
Merge pull request #20 from icm7216/Fix-regex-for-animation-gif
Allow new messages of animation GIF
2 parents 1f555ab + b4efa7a commit 0353a49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/numo/gnuplot.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ def to_s
299299
def run(s,data=nil)
300300
res = send_cmd(s,data)
301301
if !res.empty?
302-
if /.*?End\sof\sanimation\ssequence.*?/im =~ res.to_s
302+
if /.*?(End\sof|frames\sin)\sanimation\ssequence.*?/im =~ res.to_s
303303
return nil
304304
end
305305
if res.size < 7

0 commit comments

Comments
 (0)
0