Hi there, thanks for the pull request.

I like the idea of not using a regular expression, however, I'm not
fond of methods that mutate such as `pop`.

Therefore if you would like to implement a method that does not
use `pop` but still avoid regular expressions and adhere to the
heuristic of splitting and selecting the last element, I'll be happy to
merge that.  Please modify the existing code and do not include
commented out code.

On the other hand, if you just want to publish your alternative solutions,
you are welcome to maintain your fork.