[SPAM] Re: need help with reinplace

Helmut K. C. Tessarek tessarek at evermeet.cx
Sun Nov 4 22:31:47 UTC 2018


On 2018-11-04 01:34, Joshua Root wrote:
> What about it doesn't make sense to you? We need to understand this in
> order to write documentation that explains it well.

I thought I made this clear in my original post.

I want to use this regex in inreplace:

s/AC_INIT\(\[tmux\],
(next-[0-9]+\.[0-9]+)\)/AC_INIT([tmux], \1 (${version}))/g

No matter how I tried to escape it, it didn't work. But I don't have to
now, since you gave me this awesome workaround.

Problem solved. All good. End of story. I just meant that others could
benefit from this workaround as well. Thus my suggestion to add it to
the documentation. That's all.

Cheers,
  K. C.

-- 
regards Helmut K. C. Tessarek              KeyID 0x172380A011EF4944
Key fingerprint = 8A55 70C1 BD85 D34E ADBC 386C 1723 80A0 11EF 4944

/*
   Thou shalt not follow the NULL pointer for chaos and madness
   await thee at its end.
*/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20181104/14190cdd/attachment-0001.sig>


More information about the macports-dev mailing list