strip off spaces?

```python
return [x.strip() for x in re.split(r'' + sep, txt, maxsplit=max)]
```