Making regular expressions on string splits always use a global flag.

Fixes #109.

This is the only Lua code I've ever written in my life.  Feel free to use this PR as a pointer of what I think the correct functionality should be.  :)