How can I make a function that matches a target directory at point, changing the user name to another one?
Example, with cursor on /home/peter/web/ergomax.org
I want to change from peter
to paul
, then store the result in a list that I can access later on.