atlrug-rhok/rhok-rails — pull request #12 by clintslee (2013-06-03 02:18:30+00:00)
Title: Update regex in parse method

I updated the regex in the parse method to handle three types of separators. Also added several new specs to test each. Incoming requests can now be in any of the following formats:

"111111 aceta 30mg 50 accra" ( space separator )

"111111,aceta,30mg,50,accra" ( comma separator )

"111111, aceta, 30mg, 50, accra" ( comma-space separator )