Refactor lines merging
Avoid inline regular expresions
Rename splitByComma to splitParams
Gracefully degrade on SyntaxErrors