89ab409a1a
The regex can be removed with the default split method. The val object can be removed by adding to the secs object directly on the result of the case statement.