On Nov 13, 9:18 am, James Edward Gray II <ja... / grayproductions.net>
wrote:
>
> Just for the sake of the archives, note that the above should use sub
> () instead of gsub().
>

But that is part of what you are not understanding.  'input' and 're'
were originally presented as unknowns.  You can't change gsub to sub,
just like you can't take out the block.