acme: regex not mathing as much as possible
Author: pedramosCreated Aug 4, 2023Updated Aug 11, 2023
Considering the following text:
abc xyz
The following Edit command:
Edit ,x/[a-z]+/ s/.*/T&/g
Should result in
Tabc Txyz
But it seems like x is capturing single chars only, instead the full 3 char group, so the command results in :
TaTbTc TxTyTz
I tried to find the problem to fix it myself but could not find where the bug is. It seems to work fine in go sam and plan9port acme.
Source: 9fans/go