[Gridflow-cvs] [svn] commit: r5047 - /trunk/doc/find_missing.rb

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Wed Feb 24 19:44:39 EST 2010


Author: matju
Date: Wed Feb 24 19:44:38 2010
New Revision: 5047

Log:
long name right justified makes negative coord which wasn't recognised in regexp... \d+ vs -?\d+

Modified:
    trunk/doc/find_missing.rb

Modified: trunk/doc/find_missing.rb
==============================================================================
--- trunk/doc/find_missing.rb (original)
+++ trunk/doc/find_missing.rb Wed Feb 24 19:44:38 2010
@@ -17,7 +17,7 @@
 d=[]
 File.open("index.pd") {|f|
   f.each {|line|
-    m=/obj \d+ \d+ ([^ ;]+)/.match(line)
+    m=/obj -?\d+ -?\d+ ([^ ;]+)/.match(line)
     d<<m[1] if m
   }
 }



More information about the Gridflow-cvs mailing list