Guest User

Untitled

a guest
Jul 16th, 2018
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. > "velocity(22)".match("\(([^()]*)\)");
  2. [ '(22)', '22', index: 8, input: 'velocity(22)' ]
  3.  
  4. > "velocity(22 (m/s))".match("\(([^()]*)\)");
  5. [ '(m/s)', 'm/s', index: 12, input: 'velocity(22 (m/s))' ]
Add Comment
Please, Sign In to add comment