On Thursday, August 4, 2016 at 6:49:44 PM UTC+10, Kenny McCormack wrote:
> Two comments:
> 1) Your 3rd parameter to gensub() is wrong. It should be 1.
Oops. My mistake, the demo was hastily built from a longer non-demo command.
>
> 2) Your assumption is wrong. Your reg exp / . / matches a space
> followed by any character followed by another space. This 3
> character sequence occurs just once in "a . b".
>
Many thanks, I hadn't thought of it that way.