Fixed regex for sql param parsing