Guest User

Untitled

a guest
Jun 24th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1.  
  2. ar = "m 408.86621,382.18531 c -60.47705,2.3e-4 -60.47705,2.3e-4 -102.37687,6.91573 -125.69958,20.74653 -23.32304,13.83122 -34.98448,37.42529 -34.98435,70.78229 -1.3e-4,26.57737"
  3.  
  4. ar.scan(/[-+]?([0-9]*\.[0-9]+|[0-9]+)/){|a, _| a.to_f; puts "=>#{a}"}
Add Comment
Please, Sign In to add comment