OK, if +14 is an acceptable answer then that makes things a bit easier. Actually a lot of the work is just to avoid having two `\\s*` next to one another, but it doesn't really matter if that happens. Maybe I just add `\\s*` to the start and end of each term and not worry about.